home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / gnus / old-nntp.elc < prev   
Emacs Compiled Lisp  |  1995-08-29  |  12.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 30 33 3a 34 | 33 20 31 39 39 35 0a 3b | 14:03:4|3 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 67 6e | 75 73 2f 6f 6c 64 2d 6e |/lisp/gn|us/old-n|
|00000090| 6e 74 70 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |ntp.el.;|;; emacs|
|000000a0| 20 76 65 72 73 69 6f 6e | 20 31 39 2e 31 33 20 58 | version| 19.13 X|
|000000b0| 45 6d 61 63 73 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |Emacs Lu|cid..;;;|
|000000c0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000d0| 6e 20 32 2e 32 35 3b 20 | 31 2d 53 65 70 2d 39 34 |n 2.25; |1-Sep-94|
|000000e0| 2e 0a 3b 3b 3b 20 6f 70 | 74 69 6d 69 7a 61 74 69 |..;;; op|timizati|
|000000f0| 6f 6e 20 69 73 20 6f 6e | 2e 0a 3b 3b 3b 20 74 68 |on is on|..;;; th|
|00000100| 69 73 20 66 69 6c 65 20 | 75 73 65 73 20 6f 70 63 |is file |uses opc|
|00000110| 6f 64 65 73 20 77 68 69 | 63 68 20 64 6f 20 6e 6f |odes whi|ch do no|
|00000120| 74 20 65 78 69 73 74 20 | 69 6e 20 45 6d 61 63 73 |t exist |in Emacs|
|00000130| 20 31 38 2e 0a 0a 28 69 | 66 20 28 61 6e 64 20 28 | 18...(i|f (and (|
|00000140| 62 6f 75 6e 64 70 20 27 | 65 6d 61 63 73 2d 76 65 |boundp '|emacs-ve|
|00000150| 72 73 69 6f 6e 29 0a 09 | 20 28 6f 72 20 28 61 6e |rsion)..| (or (an|
|00000160| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 70 6f 63 68 |d (bound|p 'epoch|
|00000170| 3a 3a 76 65 72 73 69 6f | 6e 29 20 65 70 6f 63 68 |::versio|n) epoch|
|00000180| 3a 3a 76 65 72 73 69 6f | 6e 29 0a 09 20 20 20 20 |::versio|n).. |
|00000190| 20 28 73 74 72 69 6e 67 | 2d 6c 65 73 73 70 20 65 | (string|-lessp e|
|000001a0| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 31 39 |macs-ver|sion "19|
|000001b0| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001c0| 22 54 68 69 73 20 66 69 | 6c 65 20 77 61 73 20 63 |"This fi|le was c|
|000001d0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001e0| 73 20 31 39 2e 22 29 29 | 0a 0a 28 64 65 66 76 61 |s 19."))|..(defva|
|000001f0| 72 20 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 68 6f |r nntp-s|erver-ho|
|00000200| 6f 6b 20 6e 69 6c 20 22 | 5c 0a 2a 48 6f 6f 6b 73 |ok nil "|\.*Hooks|
|00000210| 20 66 6f 72 20 74 68 65 | 20 4e 4e 54 50 20 73 65 | for the| NNTP se|
|00000220| 72 76 65 72 2e 0a 49 66 | 20 74 68 65 20 6b 61 6e |rver..If| the kan|
|00000230| 6a 69 20 63 6f 64 65 20 | 6f 66 20 74 68 65 20 4e |ji code |of the N|
|00000240| 4e 54 50 20 73 65 72 76 | 65 72 20 69 73 20 64 69 |NTP serv|er is di|
|00000250| 66 66 65 72 65 6e 74 20 | 66 72 6f 6d 20 74 68 65 |fferent |from the|
|00000260| 20 6c 6f 63 61 6c 20 6b | 61 6e 6a 69 0a 63 6f 64 | local k|anji.cod|
|00000270| 65 2c 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 6b |e, the c|orrect k|
|00000280| 61 6e 6a 69 20 63 6f 64 | 65 20 6f 66 20 74 68 65 |anji cod|e of the|
|00000290| 20 62 75 66 66 65 72 20 | 61 73 73 6f 63 69 61 74 | buffer |associat|
|000002a0| 65 64 20 77 69 74 68 20 | 74 68 65 20 4e 4e 54 50 |ed with |the NNTP|
|000002b0| 0a 73 65 72 76 65 72 20 | 6d 75 73 74 20 62 65 20 |.server |must be |
|000002c0| 73 70 65 63 69 66 69 65 | 64 20 61 73 20 66 6f 6c |specifie|d as fol|
|000002d0| 6c 6f 77 73 3a 0a 0a 28 | 73 65 74 71 20 6e 6e 74 |lows:..(|setq nnt|
|000002e0| 70 2d 73 65 72 76 65 72 | 2d 68 6f 6f 6b 0a 20 20 |p-server|-hook. |
|000002f0| 20 20 20 20 28 66 75 6e | 63 74 69 6f 6e 0a 20 20 | (fun|ction. |
|00000300| 20 20 20 20 20 28 6c 61 | 6d 62 64 61 20 28 29 0a | (la|mbda ().|
|00000310| 09 20 3b 3b 20 53 65 72 | 76 65 72 27 73 20 4b 61 |. ;; Ser|ver's Ka|
|00000320| 6e 6a 69 20 63 6f 64 65 | 20 69 73 20 45 55 43 20 |nji code| is EUC |
|00000330| 28 4e 45 6d 61 63 73 20 | 68 61 63 6b 29 2e 0a 09 |(NEmacs |hack)...|
|00000340| 20 28 6d 61 6b 65 2d 6c | 6f 63 61 6c 2d 76 61 72 | (make-l|ocal-var|
|00000350| 69 61 62 6c 65 20 27 6b | 61 6e 6a 69 2d 66 69 6c |iable 'k|anji-fil|
|00000360| 65 69 6f 2d 63 6f 64 65 | 29 0a 09 20 28 73 65 74 |eio-code|).. (set|
|00000370| 71 20 6b 61 6e 6a 69 2d | 66 69 6c 65 69 6f 2d 63 |q kanji-|fileio-c|
|00000380| 6f 64 65 20 30 29 29 29 | 29 0a 0a 49 66 20 79 6f |ode 0)))|)..If yo|
|00000390| 75 27 64 20 6c 69 6b 65 | 20 74 6f 20 63 68 61 6e |u'd like| to chan|
|000003a0| 67 65 20 73 6f 6d 65 74 | 68 69 6e 67 20 64 65 70 |ge somet|hing dep|
|000003b0| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 73 65 |ending o|n the se|
|000003c0| 72 76 65 72 20 69 6e 20 | 74 68 69 73 0a 68 6f 6f |rver in |this.hoo|
|000003d0| 6b 2c 20 75 73 65 20 74 | 68 65 20 76 61 72 69 61 |k, use t|he varia|
|000003e0| 62 6c 65 20 60 6e 6e 74 | 70 2d 73 65 72 76 65 72 |ble `nnt|p-server|
|000003f0| 2d 6e 61 6d 65 27 2e 22 | 29 0a 28 64 65 66 76 61 |-name'."|).(defva|
|00000400| 72 20 6e 6e 74 70 2d 6c | 61 72 67 65 2d 6e 65 77 |r nntp-l|arge-new|
|00000410| 73 67 72 6f 75 70 20 35 | 30 20 22 5c 0a 2a 54 68 |sgroup 5|0 "\.*Th|
|00000420| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |e number| of the |
|00000430| 61 72 74 69 63 6c 65 73 | 20 77 68 69 63 68 20 69 |articles| which i|
|00000440| 6e 64 69 63 61 74 65 73 | 20 61 20 6c 61 72 67 65 |ndicates| a large|
|00000450| 20 6e 65 77 73 67 72 6f | 75 70 2e 0a 49 66 20 74 | newsgro|up..If t|
|00000460| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |he numbe|r of the|
|00000470| 20 61 72 74 69 63 6c 65 | 73 20 69 73 20 67 72 65 | article|s is gre|
|00000480| 61 74 65 72 20 74 68 61 | 6e 20 74 68 65 20 76 61 |ater tha|n the va|
|00000490| 6c 75 65 2c 20 76 65 72 | 62 6f 73 65 0a 6d 65 73 |lue, ver|bose.mes|
|000004a0| 73 61 67 65 73 20 77 69 | 6c 6c 20 62 65 20 73 68 |sages wi|ll be sh|
|000004b0| 6f 77 6e 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |own to i|ndicate |
|000004c0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 73 74 61 74 |the curr|ent stat|
|000004d0| 75 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6e 6e |us.").(d|efvar nn|
|000004e0| 74 70 2d 62 75 67 67 79 | 2d 73 65 6c 65 63 74 20 |tp-buggy|-select |
|000004f0| 28 6d 65 6d 71 20 73 79 | 73 74 65 6d 2d 74 79 70 |(memq sy|stem-typ|
|00000500| 65 20 27 28 75 73 67 2d | 75 6e 69 78 2d 76 20 66 |e '(usg-|unix-v f|
|00000510| 75 6a 69 74 73 75 2d 75 | 74 73 29 29 20 22 5c 0a |ujitsu-u|ts)) "\.|
|00000520| 2a 54 20 69 66 20 79 6f | 75 72 20 73 65 6c 65 63 |*T if yo|ur selec|
|00000530| 74 20 72 6f 75 74 69 6e | 65 20 69 73 20 62 75 67 |t routin|e is bug|
|00000540| 67 79 2e 0a 49 66 20 74 | 68 65 20 73 65 6c 65 63 |gy..If t|he selec|
|00000550| 74 20 72 6f 75 74 69 6e | 65 20 73 69 67 6e 61 6c |t routin|e signal|
|00000560| 73 20 65 72 72 6f 72 20 | 6f 72 20 66 61 6c 6c 20 |s error |or fall |
|00000570| 69 6e 74 6f 20 69 6e 66 | 69 6e 69 74 65 20 6c 6f |into inf|inite lo|
|00000580| 6f 70 20 77 68 69 6c 65 | 0a 77 61 69 74 69 6e 67 |op while|.waiting|
|00000590| 20 66 6f 72 20 74 68 65 | 20 73 65 72 76 65 72 20 | for the| server |
|000005a0| 72 65 73 70 6f 6e 73 65 | 2c 20 74 68 65 20 76 61 |response|, the va|
|000005b0| 72 69 61 62 6c 65 20 6d | 75 73 74 20 62 65 20 73 |riable m|ust be s|
|000005c0| 65 74 20 74 6f 20 74 2e | 20 20 49 6e 0a 63 61 73 |et to t.| In.cas|
|000005d0| 65 20 6f 66 20 46 75 6a | 69 74 73 75 20 55 54 53 |e of Fuj|itsu UTS|
|000005e0| 2c 20 69 74 20 69 73 20 | 73 65 74 20 74 6f 20 54 |, it is |set to T|
|000005f0| 20 73 69 6e 63 65 20 60 | 61 63 63 65 70 74 2d 70 | since `|accept-p|
|00000600| 72 6f 63 65 73 73 2d 6f | 75 74 70 75 74 27 0a 64 |rocess-o|utput'.d|
|00000610| 6f 65 73 6e 27 74 20 77 | 6f 72 6b 20 70 72 6f 70 |oesn't w|ork prop|
|00000620| 65 72 6c 79 2e 22 29 0a | 28 64 65 66 76 61 72 20 |erly.").|(defvar |
|00000630| 6e 6e 74 70 2d 6d 61 78 | 69 6d 75 6d 2d 72 65 71 |nntp-max|imum-req|
|00000640| 75 65 73 74 20 32 30 30 | 20 22 5c 0a 2a 54 68 65 |uest 200| "\.*The|
|00000650| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|00000660| 6f 66 20 74 68 65 20 72 | 65 71 75 65 73 74 73 20 |of the r|equests |
|00000670| 73 65 6e 74 20 74 6f 20 | 74 68 65 20 4e 4e 54 50 |sent to |the NNTP|
|00000680| 20 73 65 72 76 65 72 20 | 61 74 20 6f 6e 65 20 74 | server |at one t|
|00000690| 69 6d 65 2e 0a 49 66 20 | 45 6d 61 63 73 20 68 61 |ime..If |Emacs ha|
|000006a0| 6e 67 73 20 75 70 20 77 | 68 69 6c 65 20 72 65 74 |ngs up w|hile ret|
|000006b0| 72 69 65 76 69 6e 67 20 | 68 65 61 64 65 72 73 2c |rieving |headers,|
|000006c0| 20 73 65 74 20 74 68 65 | 20 76 61 72 69 61 62 6c | set the| variabl|
|000006d0| 65 20 74 6f 20 61 0a 6c | 6f 77 65 72 20 76 61 6c |e to a.l|ower val|
|000006e0| 75 65 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6e 6e |ue.").(d|efvar nn|
|000006f0| 74 70 2d 64 65 62 75 67 | 2d 72 65 61 64 20 31 30 |tp-debug|-read 10|
|00000700| 30 30 30 20 22 5c 0a 2a | 44 69 73 70 6c 61 79 20 |000 "\.*|Display |
|00000710| 27 2e 2e 2e 27 20 65 76 | 65 72 79 20 31 30 4b 62 |'...' ev|ery 10Kb|
|00000720| 79 74 65 73 20 6f 66 20 | 61 20 6d 65 73 73 61 67 |ytes of |a messag|
|00000730| 65 20 62 65 69 6e 67 20 | 72 65 63 65 69 76 65 64 |e being |received|
|00000740| 20 69 66 20 69 74 20 69 | 73 20 6e 6f 6e 2d 6e 69 | if it i|s non-ni|
|00000750| 6c 2e 0a 49 66 20 69 74 | 20 69 73 20 61 20 6e 75 |l..If it| is a nu|
|00000760| 6d 62 65 72 2c 20 64 6f | 74 73 20 61 72 65 20 64 |mber, do|ts are d|
|00000770| 69 73 70 6c 61 79 65 64 | 20 70 65 72 20 74 68 65 |isplayed| per the|
|00000780| 20 6e 75 6d 62 65 72 2e | 22 29 0a 28 64 65 66 63 | number.|").(defc|
|00000790| 6f 6e 73 74 20 6e 6e 74 | 70 2d 76 65 72 73 69 6f |onst nnt|p-versio|
|000007a0| 6e 20 22 4e 4e 54 50 20 | 33 2e 31 32 22 20 22 5c |n "NNTP |3.12" "\|
|000007b0| 0a 56 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 73 |.Version| numbers|
|000007c0| 20 6f 66 20 74 68 69 73 | 20 76 65 72 73 69 6f 6e | of this| version|
|000007d0| 20 6f 66 20 4e 4e 54 50 | 2e 22 29 0a 28 64 65 66 | of NNTP|.").(def|
|000007e0| 76 61 72 20 6e 6e 74 70 | 2d 73 65 72 76 65 72 2d |var nntp|-server-|
|000007f0| 6e 61 6d 65 20 6e 69 6c | 20 22 5c 0a 54 68 65 20 |name nil| "\.The |
|00000800| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 68 6f 73 74 |name of |the host|
|00000810| 20 72 75 6e 6e 69 6e 67 | 20 4e 4e 54 50 20 73 65 | running| NNTP se|
|00000820| 72 76 65 72 2e 22 29 0a | 28 64 65 66 76 61 72 20 |rver.").|(defvar |
|00000830| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 62 75 66 66 |nntp-ser|ver-buff|
|00000840| 65 72 20 6e 69 6c 20 22 | 5c 0a 42 75 66 66 65 72 |er nil "|\.Buffer|
|00000850| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|00000860| 20 4e 4e 54 50 20 73 65 | 72 76 65 72 20 70 72 6f | NNTP se|rver pro|
|00000870| 63 65 73 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |cess.").|(defvar |
|00000880| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 70 72 6f 63 |nntp-ser|ver-proc|
|00000890| 65 73 73 20 6e 69 6c 20 | 22 5c 0a 54 68 65 20 4e |ess nil |"\.The N|
|000008a0| 4e 54 50 20 73 65 72 76 | 65 72 20 70 72 6f 63 65 |NTP serv|er proce|
|000008b0| 73 73 2e 0a 59 6f 75 27 | 64 20 62 65 74 74 65 72 |ss..You'|d better|
|000008c0| 20 6e 6f 74 20 75 73 65 | 20 74 68 69 73 20 76 61 | not use| this va|
|000008d0| 72 69 61 62 6c 65 20 69 | 6e 20 4e 4e 54 50 20 66 |riable i|n NNTP f|
|000008e0| 72 6f 6e 74 2d 65 6e 64 | 20 70 72 6f 67 72 61 6d |ront-end| program|
|000008f0| 20 62 75 74 0a 69 6e 73 | 74 65 61 64 20 75 73 65 | but.ins|tead use|
|00000900| 20 60 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 62 75 | `nntp-s|erver-bu|
|00000910| 66 66 65 72 27 2e 22 29 | 0a 28 64 65 66 76 61 72 |ffer'.")|.(defvar|
|00000920| 20 6e 6e 74 70 2d 73 74 | 61 74 75 73 2d 73 74 72 | nntp-st|atus-str|
|00000930| 69 6e 67 20 6e 69 6c 20 | 22 5c 0a 53 61 76 65 20 |ing nil |"\.Save |
|00000940| 74 68 65 20 73 65 72 76 | 65 72 20 72 65 73 70 6f |the serv|er respo|
|00000950| 6e 73 65 20 6d 65 73 73 | 61 67 65 2e 0a 59 6f 75 |nse mess|age..You|
|00000960| 27 64 20 62 65 74 74 65 | 72 20 6e 6f 74 20 75 73 |'d bette|r not us|
|00000970| 65 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |e this v|ariable |
|00000980| 69 6e 20 4e 4e 54 50 20 | 66 72 6f 6e 74 2d 65 6e |in NNTP |front-en|
|00000990| 64 20 70 72 6f 67 72 61 | 6d 20 62 75 74 0a 69 6e |d progra|m but.in|
|000009a0| 73 74 65 61 64 20 63 61 | 6c 6c 20 66 75 6e 63 74 |stead ca|ll funct|
|000009b0| 69 6f 6e 20 60 6e 6e 74 | 70 2d 73 74 61 74 75 73 |ion `nnt|p-status|
|000009c0| 2d 6d 65 73 73 61 67 65 | 27 20 74 6f 20 67 65 74 |-message|' to get|
|000009d0| 20 73 74 61 74 75 73 20 | 6d 65 73 73 61 67 65 2e | status |message.|
|000009e0| 22 29 0a 28 66 73 65 74 | 20 27 6e 6e 74 70 2d 68 |").(fset| 'nntp-h|
|000009f0| 65 61 64 65 72 2d 6e 75 | 6d 62 65 72 20 27 28 6d |eader-nu|mber '(m|
|00000a00| 61 63 72 6f 20 2e 20 23 | 5b 28 68 65 61 64 65 72 |acro . #|[(header|
|00000a10| 29 20 22 c0 09 c2 42 42 | 87 22 20 5b 61 72 65 66 |) "...BB|." [aref|
|00000a20| 20 68 65 61 64 65 72 20 | 28 30 29 5d 20 33 20 22 | header |(0)] 3 "|
|00000a30| 5c 0a 52 65 74 75 72 6e | 20 61 72 74 69 63 6c 65 |\.Return| article|
|00000a40| 20 6e 75 6d 62 65 72 20 | 69 6e 20 48 45 41 44 45 | number |in HEADE|
|00000a50| 52 2e 22 5d 29 29 0a 28 | 66 73 65 74 20 27 6e 6e |R."])).(|fset 'nn|
|00000a60| 74 70 2d 73 65 74 2d 68 | 65 61 64 65 72 2d 6e 75 |tp-set-h|eader-nu|
|00000a70| 6d 62 65 72 20 27 28 6d | 61 63 72 6f 20 2e 20 23 |mber '(m|acro . #|
|00000a80| 5b 28 68 65 61 64 65 72 | 20 6e 75 6d 62 65 72 29 |[(header| number)|
|00000a90| 20 22 c0 09 c2 0b 46 87 | 22 20 5b 61 73 65 74 20 | "....F.|" [aset |
|00000aa0| 68 65 61 64 65 72 20 30 | 20 6e 75 6d 62 65 72 5d |header 0| number]|
|00000ab0| 20 34 20 22 5c 0a 53 65 | 74 20 61 72 74 69 63 6c | 4 "\.Se|t articl|
|00000ac0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 48 45 41 44 |e number| of HEAD|
|00000ad0| 45 52 20 74 6f 20 4e 55 | 4d 42 45 52 2e 22 5d 29 |ER to NU|MBER."])|
|00000ae0| 29 0a 28 66 73 65 74 20 | 27 6e 6e 74 70 2d 68 65 |).(fset |'nntp-he|
|00000af0| 61 64 65 72 2d 73 75 62 | 6a 65 63 74 20 27 28 6d |ader-sub|ject '(m|
|00000b00| 61 63 72 6f 20 2e 20 23 | 5b 28 68 65 61 64 65 72 |acro . #|[(header|
|00000b10| 29 20 22 c0 09 c2 42 42 | 87 22 20 5b 61 72 65 66 |) "...BB|." [aref|
|00000b20| 20 68 65 61 64 65 72 20 | 28 31 29 5d 20 33 20 22 | header |(1)] 3 "|
|00000b30| 5c 0a 52 65 74 75 72 6e | 20 73 75 62 6a 65 63 74 |\.Return| subject|
|00000b40| 20 73 74 72 69 6e 67 20 | 69 6e 20 48 45 41 44 45 | string |in HEADE|
|00000b50| 52 2e 22 5d 29 29 0a 28 | 66 73 65 74 20 27 6e 6e |R."])).(|fset 'nn|
|00000b60| 74 70 2d 73 65 74 2d 68 | 65 61 64 65 72 2d 73 75 |tp-set-h|eader-su|
|00000b70| 62 6a 65 63 74 20 27 28 | 6d 61 63 72 6f 20 2e 20 |bject '(|macro . |
|00000b80| 23 5b 28 68 65 61 64 65 | 72 20 73 75 62 6a 65 63 |#[(heade|r subjec|
|00000b90| 74 29 20 22 c0 09 c2 0b | 46 87 22 20 5b 61 73 65 |t) "....|F." [ase|
|00000ba0| 74 20 68 65 61 64 65 72 | 20 31 20 73 75 62 6a 65 |t header| 1 subje|
|00000bb0| 63 74 5d 20 34 20 22 5c | 0a 53 65 74 20 61 72 74 |ct] 4 "\|.Set art|
|00000bc0| 69 63 6c 65 20 73 75 62 | 6a 65 63 74 20 6f 66 20 |icle sub|ject of |
|00000bd0| 48 45 41 44 45 52 20 74 | 6f 20 53 55 42 4a 45 43 |HEADER t|o SUBJEC|
|00000be0| 54 2e 22 5d 29 29 0a 28 | 66 73 65 74 20 27 6e 6e |T."])).(|fset 'nn|
|00000bf0| 74 70 2d 68 65 61 64 65 | 72 2d 66 72 6f 6d 20 27 |tp-heade|r-from '|
|00000c00| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 68 65 61 64 |(macro .| #[(head|
|00000c10| 65 72 29 20 22 c0 09 c2 | 42 42 87 22 20 5b 61 72 |er) "...|BB." [ar|
|00000c20| 65 66 20 68 65 61 64 65 | 72 20 28 32 29 5d 20 33 |ef heade|r (2)] 3|
|00000c30| 20 22 5c 0a 52 65 74 75 | 72 6e 20 61 75 74 68 6f | "\.Retu|rn autho|
|00000c40| 72 20 73 74 72 69 6e 67 | 20 69 6e 20 48 45 41 44 |r string| in HEAD|
|00000c50| 45 52 2e 22 5d 29 29 0a | 28 66 73 65 74 20 27 6e |ER."])).|(fset 'n|
|00000c60| 6e 74 70 2d 73 65 74 2d | 68 65 61 64 65 72 2d 66 |ntp-set-|header-f|
|00000c70| 72 6f 6d 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |rom '(ma|cro . #[|
|00000c80| 28 68 65 61 64 65 72 20 | 66 72 6f 6d 29 20 22 c0 |(header |from) ".|
|00000c90| 09 c2 0b 46 87 22 20 5b | 61 73 65 74 20 68 65 61 |...F." [|aset hea|
|00000ca0| 64 65 72 20 32 20 66 72 | 6f 6d 5d 20 34 20 22 5c |der 2 fr|om] 4 "\|
|00000cb0| 0a 53 65 74 20 61 72 74 | 69 63 6c 65 20 61 75 74 |.Set art|icle aut|
|00000cc0| 68 6f 72 20 6f 66 20 48 | 45 41 44 45 52 20 74 6f |hor of H|EADER to|
|00000cd0| 20 46 52 4f 4d 2e 22 5d | 29 29 0a 28 66 73 65 74 | FROM."]|)).(fset|
|00000ce0| 20 27 6e 6e 74 70 2d 68 | 65 61 64 65 72 2d 78 72 | 'nntp-h|eader-xr|
|00000cf0| 65 66 20 27 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |ef '(mac|ro . #[(|
|00000d00| 68 65 61 64 65 72 29 20 | 22 c0 09 c2 42 42 87 22 |header) |"...BB."|
|00000d10| 20 5b 61 72 65 66 20 68 | 65 61 64 65 72 20 28 33 | [aref h|eader (3|
|00000d20| 29 5d 20 33 20 22 5c 0a | 52 65 74 75 72 6e 20 78 |)] 3 "\.|Return x|
|00000d30| 72 65 66 20 73 74 72 69 | 6e 67 20 69 6e 20 48 45 |ref stri|ng in HE|
|00000d40| 41 44 45 52 2e 22 5d 29 | 29 0a 28 66 73 65 74 20 |ADER."])|).(fset |
|00000d50| 27 6e 6e 74 70 2d 73 65 | 74 2d 68 65 61 64 65 72 |'nntp-se|t-header|
|00000d60| 2d 78 72 65 66 20 27 28 | 6d 61 63 72 6f 20 2e 20 |-xref '(|macro . |
|00000d70| 23 5b 28 68 65 61 64 65 | 72 20 78 72 65 66 29 20 |#[(heade|r xref) |
|00000d80| 22 c0 09 c2 0b 46 87 22 | 20 5b 61 73 65 74 20 68 |"....F."| [aset h|
|00000d90| 65 61 64 65 72 20 33 20 | 78 72 65 66 5d 20 34 20 |eader 3 |xref] 4 |
|00000da0| 22 5c 0a 53 65 74 20 61 | 72 74 69 63 6c 65 20 78 |"\.Set a|rticle x|
|00000db0| 72 65 66 20 6f 66 20 48 | 45 41 44 45 52 20 74 6f |ref of H|EADER to|
|00000dc0| 20 78 72 65 66 2e 22 5d | 29 29 0a 28 66 73 65 74 | xref."]|)).(fset|
|00000dd0| 20 27 6e 6e 74 70 2d 68 | 65 61 64 65 72 2d 6c 69 | 'nntp-h|eader-li|
|00000de0| 6e 65 73 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |nes '(ma|cro . #[|
|00000df0| 28 68 65 61 64 65 72 29 | 20 22 c0 09 c2 42 42 87 |(header)| "...BB.|
|00000e00| 22 20 5b 61 72 65 66 20 | 68 65 61 64 65 72 20 28 |" [aref |header (|
|00000e10| 34 29 5d 20 33 20 22 5c | 0a 52 65 74 75 72 6e 20 |4)] 3 "\|.Return |
|00000e20| 6c 69 6e 65 73 20 69 6e | 20 48 45 41 44 45 52 2e |lines in| HEADER.|
|00000e30| 22 5d 29 29 0a 28 66 73 | 65 74 20 27 6e 6e 74 70 |"])).(fs|et 'nntp|
|00000e40| 2d 73 65 74 2d 68 65 61 | 64 65 72 2d 6c 69 6e 65 |-set-hea|der-line|
|00000e50| 73 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 68 |s '(macr|o . #[(h|
|00000e60| 65 61 64 65 72 20 6c 69 | 6e 65 73 29 20 22 c0 09 |eader li|nes) "..|
|00000e70| c2 0b 46 87 22 20 5b 61 | 73 65 74 20 68 65 61 64 |..F." [a|set head|
|00000e80| 65 72 20 34 20 6c 69 6e | 65 73 5d 20 34 20 22 5c |er 4 lin|es] 4 "\|
|00000e90| 0a 53 65 74 20 61 72 74 | 69 63 6c 65 20 6c 69 6e |.Set art|icle lin|
|00000ea0| 65 73 20 6f 66 20 48 45 | 41 44 45 52 20 74 6f 20 |es of HE|ADER to |
|00000eb0| 4c 49 4e 45 53 2e 22 5d | 29 29 0a 28 66 73 65 74 |LINES."]|)).(fset|
|00000ec0| 20 27 6e 6e 74 70 2d 68 | 65 61 64 65 72 2d 64 61 | 'nntp-h|eader-da|
|00000ed0| 74 65 20 27 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |te '(mac|ro . #[(|
|00000ee0| 68 65 61 64 65 72 29 20 | 22 c0 09 c2 42 42 87 22 |header) |"...BB."|
|00000ef0| 20 5b 61 72 65 66 20 68 | 65 61 64 65 72 20 28 35 | [aref h|eader (5|
|00000f00| 29 5d 20 33 20 22 5c 0a | 52 65 74 75 72 6e 20 64 |)] 3 "\.|Return d|
|00000f10| 61 74 65 20 69 6e 20 48 | 45 41 44 45 52 2e 22 5d |ate in H|EADER."]|
|00000f20| 29 29 0a 28 66 73 65 74 | 20 27 6e 6e 74 70 2d 73 |)).(fset| 'nntp-s|
|00000f30| 65 74 2d 68 65 61 64 65 | 72 2d 64 61 74 65 20 27 |et-heade|r-date '|
|00000f40| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 68 65 61 64 |(macro .| #[(head|
|00000f50| 65 72 20 64 61 74 65 29 | 20 22 c0 09 c2 0b 46 87 |er date)| "....F.|
|00000f60| 22 20 5b 61 73 65 74 20 | 68 65 61 64 65 72 20 35 |" [aset |header 5|
|00000f70| 20 64 61 74 65 5d 20 34 | 20 22 5c 0a 53 65 74 20 | date] 4| "\.Set |
|00000f80| 61 72 74 69 63 6c 65 20 | 64 61 74 65 20 6f 66 20 |article |date of |
|00000f90| 48 45 41 44 45 52 20 74 | 6f 20 44 41 54 45 2e 22 |HEADER t|o DATE."|
|00000fa0| 5d 29 29 0a 28 66 73 65 | 74 20 27 6e 6e 74 70 2d |])).(fse|t 'nntp-|
|00000fb0| 68 65 61 64 65 72 2d 69 | 64 20 27 28 6d 61 63 72 |header-i|d '(macr|
|00000fc0| 6f 20 2e 20 23 5b 28 68 | 65 61 64 65 72 29 20 22 |o . #[(h|eader) "|
|00000fd0| c0 09 c2 42 42 87 22 20 | 5b 61 72 65 66 20 68 65 |...BB." |[aref he|
|00000fe0| 61 64 65 72 20 28 36 29 | 5d 20 33 20 22 5c 0a 52 |ader (6)|] 3 "\.R|
|00000ff0| 65 74 75 72 6e 20 49 64 | 20 69 6e 20 48 45 41 44 |eturn Id| in HEAD|
|00001000| 45 52 2e 22 5d 29 29 0a | 28 66 73 65 74 20 27 6e |ER."])).|(fset 'n|
|00001010| 6e 74 70 2d 73 65 74 2d | 68 65 61 64 65 72 2d 69 |ntp-set-|header-i|
|00001020| 64 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 68 |d '(macr|o . #[(h|
|00001030| 65 61 64 65 72 20 69 64 | 29 20 22 c0 09 c2 0b 46 |eader id|) "....F|
|00001040| 87 22 20 5b 61 73 65 74 | 20 68 65 61 64 65 72 20 |." [aset| header |
|00001050| 36 20 69 64 5d 20 34 20 | 22 5c 0a 53 65 74 20 61 |6 id] 4 |"\.Set a|
|00001060| 72 74 69 63 6c 65 20 49 | 64 20 6f 66 20 48 45 41 |rticle I|d of HEA|
|00001070| 44 45 52 20 74 6f 20 49 | 44 2e 22 5d 29 29 0a 28 |DER to I|D."])).(|
|00001080| 66 73 65 74 20 27 6e 6e | 74 70 2d 68 65 61 64 65 |fset 'nn|tp-heade|
|00001090| 72 2d 72 65 66 65 72 65 | 6e 63 65 73 20 27 28 6d |r-refere|nces '(m|
|000010a0| 61 63 72 6f 20 2e 20 23 | 5b 28 68 65 61 64 65 72 |acro . #|[(header|
|000010b0| 29 20 22 c0 09 c2 42 42 | 87 22 20 5b 61 72 65 66 |) "...BB|." [aref|
|000010c0| 20 68 65 61 64 65 72 20 | 28 37 29 5d 20 33 20 22 | header |(7)] 3 "|
|000010d0| 5c 0a 52 65 74 75 72 6e | 20 72 65 66 65 72 65 6e |\.Return| referen|
|000010e0| 63 65 73 20 28 6f 72 20 | 69 6e 2d 72 65 70 6c 79 |ces (or |in-reply|
|000010f0| 2d 74 6f 29 20 69 6e 20 | 48 45 41 44 45 52 2e 22 |-to) in |HEADER."|
|00001100| 5d 29 29 0a 28 66 73 65 | 74 20 27 6e 6e 74 70 2d |])).(fse|t 'nntp-|
|00001110| 73 65 74 2d 68 65 61 64 | 65 72 2d 72 65 66 65 72 |set-head|er-refer|
|00001120| 65 6e 63 65 73 20 27 28 | 6d 61 63 72 6f 20 2e 20 |ences '(|macro . |
|00001130| 23 5b 28 68 65 61 64 65 | 72 20 72 65 66 29 20 22 |#[(heade|r ref) "|
|00001140| c0 09 c2 0b 46 87 22 20 | 5b 61 73 65 74 20 68 65 |....F." |[aset he|
|00001150| 61 64 65 72 20 37 20 72 | 65 66 5d 20 34 20 22 5c |ader 7 r|ef] 4 "\|
|00001160| 0a 53 65 74 20 61 72 74 | 69 63 6c 65 20 72 65 66 |.Set art|icle ref|
|00001170| 65 72 65 6e 63 65 73 20 | 6f 66 20 48 45 41 44 45 |erences |of HEADE|
|00001180| 52 20 74 6f 20 52 45 46 | 2e 22 5d 29 29 0a 28 66 |R to REF|."])).(f|
|00001190| 73 65 74 20 27 6e 6e 74 | 70 2d 72 65 74 72 69 65 |set 'nnt|p-retrie|
|000011a0| 76 65 2d 68 65 61 64 65 | 72 73 20 23 5b 28 73 65 |ve-heade|rs #[(se|
|000011b0| 71 75 65 6e 63 65 29 20 | 22 8a 08 71 88 c1 20 88 |quence) |"..q.. .|
|000011c0| 5c 6e 47 65 c3 89 c4 c3 | c4 89 89 89 c3 c4 89 1d |\nGe....|........|
|000011d0| 1e 06 1e 07 1e 08 1e 09 | 1e 5c 6e 1e 0b 1e 0c 1e |........|.\n.....|
|000011e0| 0d 1e 0e 1e 0f 1e 10 1e | 11 5c 6e ab dd d2 d3 5c |........|.\n....\|
|000011f0| 6e 40 5c 22 88 5c 6e 41 | 12 0e 0e 54 16 0e 5c 6e |n@\".\nA|...T..\n|
|00001200| ab 89 0e 0e 0e 14 a6 c3 | 55 ab 63 d5 20 88 0e 10 |........|U.c. ...|
|00001210| 62 88 d6 d7 c4 d8 23 ab | 87 0e 0f 54 16 0f aa 72 |b.....#.|...T...r|
|00001220| 60 16 10 0e 0f 0e 0e 57 | ab 44 0e 19 a7 ab 9a 0e |`......W|.D......|
|00001230| 11 0e 19 56 ab 93 0e 0f | da a6 c3 55 ab 8b db dc |...V....|...U....|
|00001240| 0e 0f dd 5f 0e 11 a5 5c | 22 88 de 20 88 aa 40 64 |..._...\|".. ..@d|
|00001250| 62 88 df d7 c4 d8 23 88 | e0 e1 21 ab 8f 64 e2 5a |b.....#.|..!..d.Z|
|00001260| 62 88 e0 e3 21 ac 85 de | 20 88 aa 71 0e 19 a7 ab |b...!...| ..q....|
|00001270| 8b 0e 11 0e 19 56 ab 84 | e4 e5 21 88 0e 11 16 0f |.....V..|..!.....|
|00001280| 65 62 88 d6 e6 c4 d8 23 | ab 88 e7 e8 d8 89 23 88 |eb.....#|......#.|
|00001290| aa 71 0e 19 a7 ab 8b 0e | 11 0e 19 56 ab 84 e4 e9 |.q......|...V....|
|000012a0| 21 88 65 62 88 6d 84 e9 | 01 e0 ea 21 83 bc 01 eb |!.eb.m..|...!....|
|000012b0| ec 94 ec 95 7b 21 16 0c | ed 94 ed 95 7b 16 5c 6e |....{!..|....{.\n|
|000012c0| ec 79 88 c4 16 0b c4 16 | 08 c4 16 09 c3 16 07 c4 |.y......|........|
|000012d0| 16 06 c4 15 6d ac f8 67 | ee 3e ac f3 e0 ef 21 ab |....m..g|.>....!.|
|000012e0| e9 ed 94 ed 95 7b c3 94 | 66 1e 30 1e 31 f2 0e 30 |.....{..|f.0.1..0|
|000012f0| f3 5c 22 ab 86 0e 31 16 | 09 aa cf f2 0e 30 f4 5c |.\"...1.|.....0.\|
|00001300| 22 ab 86 0e 31 16 0b aa | c2 f2 0e 30 f5 5c 22 ab |"...1...|...0.\".|
|00001310| 86 0e 31 16 06 aa b5 f2 | 0e 30 f6 5c 22 ab 88 eb |..1.....|.0.\"...|
|00001320| 0e 31 21 16 07 aa a6 f2 | 0e 30 f7 5c 22 ab 86 0e |.1!.....|.0.\"...|
|00001330| 31 16 08 aa 99 f2 0e 30 | f8 5c 22 ab 85 0e 31 15 |1......0|.\"...1.|
|00001340| aa 8d f2 0e 30 f9 5c 22 | ab 86 0d ac 83 0e 31 15 |....0.\"|......1.|
|00001350| 2a ec 79 88 aa 05 0e 0b | ac 83 fa 16 0b 0e 09 ac |*.y.....|........|
|00001360| 83 fb 16 09 0e 0c ab a0 | 0e 5c 6e ab 9c fc 0e 0c |........|.\n.....|
|00001370| 0e 0b 0e 09 0e 08 0e 07 | 0e 06 0e 5c 6e 0d 26 08 |........|...\n.&.|
|00001380| 0e 0d 42 16 0d aa 83 ec | 79 88 0e 0f 53 16 0f 0e |..B.....|y...S...|
|00001390| 19 a7 83 e4 00 0e 11 0e | 19 56 83 e4 00 0e 0f da |........|.V......|
|000013a0| a6 c3 55 83 e4 00 db fd | 0e 0f dd 5f 0e 11 a5 5c |..U.....|..._...\|
|000013b0| 22 88 82 e4 00 0e 19 a7 | ab 8b 0e 11 0e 19 56 ab |".......|......V.|
|000013c0| 84 e4 fe 21 88 0e 0d 9f | 2e 0e 87 22 20 5b 6e 6e |...!....|..." [nn|
|000013d0| 74 70 2d 73 65 72 76 65 | 72 2d 62 75 66 66 65 72 |tp-serve|r-buffer|
|000013e0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 73 65 | erase-b|uffer se|
|000013f0| 71 75 65 6e 63 65 20 30 | 20 6e 69 6c 20 72 65 66 |quence 0| nil ref|
|00001400| 65 72 65 6e 63 65 73 20 | 64 61 74 65 20 6c 69 6e |erences |date lin|
|00001410| 65 73 20 78 72 65 66 20 | 66 72 6f 6d 20 6d 65 73 |es xref |from mes|
|00001420| 73 61 67 65 2d 69 64 20 | 73 75 62 6a 65 63 74 20 |sage-id |subject |
|00001430| 61 72 74 69 63 6c 65 20 | 68 65 61 64 65 72 73 20 |article |headers |
|00001440| 63 6f 75 6e 74 20 72 65 | 63 65 69 76 65 64 20 6c |count re|ceived l|
|00001450| 61 73 74 2d 70 6f 69 6e | 74 20 6e 75 6d 62 65 72 |ast-poin|t number|
|00001460| 20 6e 6e 74 70 2d 73 65 | 6e 64 2d 73 74 72 69 6e | nntp-se|nd-strin|
|00001470| 67 73 2d 74 6f 2d 73 65 | 72 76 65 72 20 22 48 45 |gs-to-se|rver "HE|
|00001480| 41 44 22 20 6e 6e 74 70 | 2d 6d 61 78 69 6d 75 6d |AD" nntp|-maximum|
|00001490| 2d 72 65 71 75 65 73 74 | 20 61 63 63 65 70 74 2d |-request| accept-|
|000014a0| 70 72 6f 63 65 73 73 2d | 6f 75 74 70 75 74 20 72 |process-|output r|
|000014b0| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|000014c0| 20 22 5e 5b 30 2d 39 5d | 22 20 74 20 6e 6e 74 70 | "^[0-9]|" t nntp|
|000014d0| 2d 6c 61 72 67 65 2d 6e | 65 77 73 67 72 6f 75 70 |-large-n|ewsgroup|
|000014e0| 20 32 30 20 67 6e 75 73 | 2d 6c 61 7a 79 2d 6d 65 | 20 gnus|-lazy-me|
|000014f0| 73 73 61 67 65 20 22 4e | 4e 54 50 3a 20 52 65 63 |ssage "N|NTP: Rec|
|00001500| 65 69 76 69 6e 67 20 68 | 65 61 64 65 72 73 2e 2e |eiving h|eaders..|
|00001510| 2e 20 25 64 25 25 22 20 | 31 30 30 20 6e 6e 74 70 |. %d%%" |100 nntp|
|00001520| 2d 61 63 63 65 70 74 2d | 72 65 73 70 6f 6e 73 65 |-accept-|response|
|00001530| 20 72 65 2d 73 65 61 72 | 63 68 2d 62 61 63 6b 77 | re-sear|ch-backw|
|00001540| 61 72 64 20 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 22 |ard look|ing-at "|
|00001550| 5e 5b 32 33 5d 22 20 33 | 20 22 5e 5c 5c 2e 0d 24 |^[23]" 3| "^\\..$|
|00001560| 22 20 6d 65 73 73 61 67 | 65 20 22 4e 4e 54 50 3a |" messag|e "NNTP:|
|00001570| 20 52 65 63 65 69 76 69 | 6e 67 20 68 65 61 64 65 | Receivi|ng heade|
|00001580| 72 73 2e 2e 2e 20 64 6f | 6e 65 22 20 22 5c 5c 28 |rs... do|ne" "\\(|
|00001590| 0d 3f 5c 6e 5b 20 09 5d | 2b 5c 5c 29 2b 22 20 72 |.?\n[ .]|+\\)+" r|
|000015a0| 65 70 6c 61 63 65 2d 6d | 61 74 63 68 20 22 20 22 |eplace-m|atch " "|
|000015b0| 20 22 4e 4e 54 50 3a 20 | 50 61 72 73 69 6e 67 20 | "NNTP: |Parsing |
|000015c0| 68 65 61 64 65 72 73 2e | 2e 2e 22 20 22 5e 5b 32 |headers.|.." "^[2|
|000015d0| 33 5d 5b 30 2d 39 5d 5b | 30 2d 39 5d 5b 20 09 5d |3][0-9][|0-9][ .]|
|000015e0| 2b 5c 5c 28 5b 30 2d 39 | 5d 2b 5c 5c 29 5b 20 09 |+\\([0-9|]+\\)[ .|
|000015f0| 5d 2b 5c 5c 28 3c 5b 5e | 3e 5d 2b 3e 5c 5c 29 22 |]+\\(<[^|>]+>\\)"|
|00001600| 20 73 74 72 69 6e 67 2d | 74 6f 2d 69 6e 74 20 31 | string-|to-int 1|
|00001610| 20 32 20 28 35 30 20 35 | 31 29 20 22 5c 5c 28 46 | 2 (50 5|1) "\\(F|
|00001620| 72 6f 6d 5c 5c 7c 53 75 | 62 6a 65 63 74 5c 5c 7c |rom\\|Su|bject\\||
|00001630| 44 61 74 65 5c 5c 7c 4c | 69 6e 65 73 5c 5c 7c 58 |Date\\|L|ines\\|X|
|00001640| 72 65 66 5c 5c 7c 52 65 | 66 65 72 65 6e 63 65 73 |ref\\|Re|ferences|
|00001650| 5c 5c 7c 49 6e 2d 52 65 | 70 6c 79 2d 54 6f 5c 5c |\\|In-Re|ply-To\\|
|00001660| 29 3a 5b 20 09 5d 2b 5c | 5c 28 5b 5e 20 09 5c 6e |):[ .]+\|\([^ .\n|
|00001670| 5d 2b 2e 2a 5c 5c 29 0d | 24 22 20 63 20 73 20 63 |]+.*\\).|$" c s c|
|00001680| 68 61 72 2d 65 71 75 61 | 6c 20 37 30 20 38 33 20 |har-equa|l 70 83 |
|00001690| 36 38 20 37 36 20 38 38 | 20 38 32 20 37 33 20 22 |68 76 88| 82 73 "|
|000016a0| 28 4e 6f 6e 65 29 22 20 | 22 28 55 6e 6b 6e 6f 77 |(None)" |"(Unknow|
|000016b0| 6e 20 55 73 65 72 29 22 | 20 76 65 63 74 6f 72 20 |n User)"| vector |
|000016c0| 22 4e 4e 54 50 3a 20 50 | 61 72 73 69 6e 67 20 68 |"NNTP: P|arsing h|
|000016d0| 65 61 64 65 72 73 2e 2e | 2e 20 25 64 25 25 22 20 |eaders..|. %d%%" |
|000016e0| 22 4e 4e 54 50 3a 20 50 | 61 72 73 69 6e 67 20 68 |"NNTP: P|arsing h|
|000016f0| 65 61 64 65 72 73 2e 2e | 2e 20 64 6f 6e 65 22 5d |eaders..|. done"]|
|00001700| 20 31 33 20 22 5c 0a 52 | 65 74 75 72 6e 20 6c 69 | 13 "\.R|eturn li|
|00001710| 73 74 20 6f 66 20 61 72 | 74 69 63 6c 65 20 68 65 |st of ar|ticle he|
|00001720| 61 64 65 72 73 20 73 70 | 65 63 69 66 69 65 64 20 |aders sp|ecified |
|00001730| 62 79 20 53 45 51 55 45 | 4e 43 45 20 6f 66 20 61 |by SEQUE|NCE of a|
|00001740| 72 74 69 63 6c 65 20 69 | 64 2e 0a 54 68 65 20 66 |rticle i|d..The f|
|00001750| 6f 72 6d 61 74 20 6f 66 | 20 6c 69 73 74 20 69 73 |ormat of| list is|
|00001760| 0a 20 60 28 5b 4e 55 4d | 42 45 52 20 53 55 42 4a |. `([NUM|BER SUBJ|
|00001770| 45 43 54 20 46 52 4f 4d | 20 58 52 45 46 20 4c 49 |ECT FROM| XREF LI|
|00001780| 4e 45 53 20 44 41 54 45 | 20 4d 45 53 53 41 47 45 |NES DATE| MESSAGE|
|00001790| 2d 49 44 20 52 45 46 45 | 52 45 4e 43 45 53 5d 20 |-ID REFE|RENCES] |
|000017a0| 2e 2e 2e 29 27 2e 0a 49 | 66 20 74 68 65 72 65 20 |...)'..I|f there |
|000017b0| 69 73 20 6e 6f 20 52 65 | 66 65 72 65 6e 63 65 73 |is no Re|ferences|
|000017c0| 3a 20 66 69 65 6c 64 2c | 20 49 6e 2d 52 65 70 6c |: field,| In-Repl|
|000017d0| 79 2d 54 6f 3a 20 66 69 | 65 6c 64 20 69 73 20 75 |y-To: fi|eld is u|
|000017e0| 73 65 64 20 69 6e 73 74 | 65 61 64 2e 0a 52 65 61 |sed inst|ead..Rea|
|000017f0| 64 65 72 20 6d 61 63 72 | 6f 73 20 66 6f 72 20 74 |der macr|os for t|
|00001800| 68 65 20 76 65 63 74 6f | 72 20 61 72 65 20 64 65 |he vecto|r are de|
|00001810| 66 69 6e 65 64 20 61 73 | 20 60 6e 6e 74 70 2d 68 |fined as| `nntp-h|
|00001820| 65 61 64 65 72 2d 46 49 | 45 4c 44 27 2e 0a 57 72 |eader-FI|ELD'..Wr|
|00001830| 69 74 65 72 20 6d 61 63 | 72 6f 73 20 66 6f 72 20 |iter mac|ros for |
|00001840| 74 68 65 20 76 65 63 74 | 6f 72 20 61 72 65 20 64 |the vect|or are d|
|00001850| 65 66 69 6e 65 64 20 61 | 73 20 60 6e 6e 74 70 2d |efined a|s `nntp-|
|00001860| 73 65 74 2d 68 65 61 64 | 65 72 2d 46 49 45 4c 44 |set-head|er-FIELD|
|00001870| 27 2e 0a 4e 65 77 73 67 | 72 6f 75 70 20 6d 75 73 |'..Newsg|roup mus|
|00001880| 74 20 62 65 20 73 65 6c | 65 63 74 65 64 20 62 65 |t be sel|ected be|
|00001890| 66 6f 72 65 20 63 61 6c | 6c 69 6e 67 20 74 68 69 |fore cal|ling thi|
|000018a0| 73 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |s."]).(f|set 'nnt|
|000018b0| 70 2d 6f 70 65 6e 2d 73 | 65 72 76 65 72 20 23 5b |p-open-s|erver #[|
|000018c0| 28 68 6f 73 74 20 26 6f | 70 74 69 6f 6e 61 6c 20 |(host &o|ptional |
|000018d0| 73 65 72 76 69 63 65 29 | 20 22 08 ae 83 c1 c2 21 |service)| ".....!|
|000018e0| c3 1c 18 c5 16 06 08 ab | a0 c7 08 0e 08 5c 22 ab |........|.....\".|
|000018f0| 99 c9 ca 21 14 cb cc cd | 5c 22 88 0c ab 88 ce 0e |...!....|\"......|
|00001900| 0f d0 5c 22 88 aa 8b d1 | 20 88 aa 86 08 ac 83 d2 |..\"....| .......|
|00001910| 16 06 0c 2a 87 22 20 5b | 68 6f 73 74 20 67 65 74 |...*." [|host get|
|00001920| 65 6e 76 20 22 4e 4e 54 | 50 53 45 52 56 45 52 22 |env "NNT|PSERVER"|
|00001930| 20 6e 69 6c 20 73 74 61 | 74 75 73 20 22 22 20 6e | nil sta|tus "" n|
|00001940| 6e 74 70 2d 73 74 61 74 | 75 73 2d 73 74 72 69 6e |ntp-stat|us-strin|
|00001950| 67 20 6e 6e 74 70 2d 6f | 70 65 6e 2d 73 65 72 76 |g nntp-o|pen-serv|
|00001960| 65 72 2d 69 6e 74 65 72 | 6e 61 6c 20 73 65 72 76 |er-inter|nal serv|
|00001970| 69 63 65 20 6e 6e 74 70 | 2d 77 61 69 74 2d 66 6f |ice nntp|-wait-fo|
|00001980| 72 2d 72 65 73 70 6f 6e | 73 65 20 22 5e 5b 32 33 |r-respon|se "^[23|
|00001990| 5d 2e 2a 0d 24 22 20 6e | 6e 74 70 2d 73 65 6e 64 |].*.$" n|ntp-send|
|000019a0| 2d 63 6f 6d 6d 61 6e 64 | 20 22 5e 2e 2a 0d 24 22 |-command| "^.*.$"|
|000019b0| 20 22 6d 6f 64 65 20 72 | 65 61 64 65 72 22 20 73 | "mode r|eader" s|
|000019c0| 65 74 2d 70 72 6f 63 65 | 73 73 2d 73 65 6e 74 69 |et-proce|ss-senti|
|000019d0| 6e 65 6c 20 6e 6e 74 70 | 2d 73 65 72 76 65 72 2d |nel nntp|-server-|
|000019e0| 70 72 6f 63 65 73 73 20 | 6e 6e 74 70 2d 64 65 66 |process |nntp-def|
|000019f0| 61 75 6c 74 2d 73 65 6e | 74 69 6e 65 6c 20 6e 6e |ault-sen|tinel nn|
|00001a00| 74 70 2d 63 6c 6f 73 65 | 2d 73 65 72 76 65 72 2d |tp-close|-server-|
|00001a10| 69 6e 74 65 72 6e 61 6c | 20 22 4e 4e 54 50 20 73 |internal| "NNTP s|
|00001a20| 65 72 76 65 72 20 69 73 | 20 6e 6f 74 20 73 70 65 |erver is| not spe|
|00001a30| 63 69 66 69 65 64 2e 22 | 5d 20 33 20 22 5c 0a 4f |cified."|] 3 "\.O|
|00001a40| 70 65 6e 20 6e 65 77 73 | 20 73 65 72 76 65 72 20 |pen news| server |
|00001a50| 6f 6e 20 48 4f 53 54 2e | 0a 49 66 20 48 4f 53 54 |on HOST.|.If HOST|
|00001a60| 20 69 73 20 6e 69 6c 2c | 20 75 73 65 20 76 61 6c | is nil,| use val|
|00001a70| 75 65 20 6f 66 20 65 6e | 76 69 72 6f 6e 6d 65 6e |ue of en|vironmen|
|00001a80| 74 20 76 61 72 69 61 62 | 6c 65 20 60 4e 4e 54 50 |t variab|le `NNTP|
|00001a90| 53 45 52 56 45 52 27 2e | 0a 49 66 20 6f 70 74 69 |SERVER'.|.If opti|
|00001aa0| 6f 6e 61 6c 20 61 72 67 | 75 6d 65 6e 74 20 53 45 |onal arg|ument SE|
|00001ab0| 52 56 49 43 45 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |RVICE is| non-nil|
|00001ac0| 2c 20 6f 70 65 6e 20 62 | 79 20 74 68 65 20 73 65 |, open b|y the se|
|00001ad0| 72 76 69 63 65 20 6e 61 | 6d 65 2e 22 5d 29 0a 28 |rvice na|me."]).(|
|00001ae0| 66 73 65 74 20 27 6e 6e | 74 70 2d 63 6c 6f 73 65 |fset 'nn|tp-close|
|00001af0| 2d 73 65 72 76 65 72 20 | 23 5b 6e 69 6c 20 22 c0 |-server |#[nil ".|
|00001b00| 8e 09 ab 8c c2 c3 09 21 | 3d ab 85 c4 09 c5 5c 22 |.......!|=.....\"|
|00001b10| 88 c6 20 ad 84 c7 c5 c8 | 5c 22 29 87 22 20 5b 28 |.. .....|\")." [(|
|00001b20| 28 6e 6e 74 70 2d 63 6c | 6f 73 65 2d 73 65 72 76 |(nntp-cl|ose-serv|
|00001b30| 65 72 2d 69 6e 74 65 72 | 6e 61 6c 29 29 20 6e 6e |er-inter|nal)) nn|
|00001b40| 74 70 2d 73 65 72 76 65 | 72 2d 70 72 6f 63 65 73 |tp-serve|r-proces|
|00001b50| 73 20 6e 6e 74 70 2d 64 | 65 66 61 75 6c 74 2d 73 |s nntp-d|efault-s|
|00001b60| 65 6e 74 69 6e 65 6c 20 | 70 72 6f 63 65 73 73 2d |entinel |process-|
|00001b70| 73 65 6e 74 69 6e 65 6c | 20 73 65 74 2d 70 72 6f |sentinel| set-pro|
|00001b80| 63 65 73 73 2d 73 65 6e | 74 69 6e 65 6c 20 6e 69 |cess-sen|tinel ni|
|00001b90| 6c 20 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 6f 70 |l nntp-s|erver-op|
|00001ba0| 65 6e 65 64 20 6e 6e 74 | 70 2d 73 65 6e 64 2d 63 |ened nnt|p-send-c|
|00001bb0| 6f 6d 6d 61 6e 64 20 22 | 51 55 49 54 22 5d 20 33 |ommand "|QUIT"] 3|
|00001bc0| 20 22 5c 0a 43 6c 6f 73 | 65 20 6e 65 77 73 20 73 | "\.Clos|e news s|
|00001bd0| 65 72 76 65 72 2e 22 5d | 29 0a 28 62 79 74 65 2d |erver."]|).(byte-|
|00001be0| 63 6f 64 65 20 22 c0 c1 | 4b 4d 87 22 20 5b 6e 6e |code "..|KM." [nn|
|00001bf0| 74 70 2d 72 65 71 75 65 | 73 74 2d 71 75 69 74 20 |tp-reque|st-quit |
|00001c00| 6e 6e 74 70 2d 63 6c 6f | 73 65 2d 73 65 72 76 65 |nntp-clo|se-serve|
|00001c10| 72 5d 20 32 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |r] 2).(f|set 'nnt|
|00001c20| 70 2d 73 65 72 76 65 72 | 2d 6f 70 65 6e 65 64 20 |p-server|-opened |
|00001c30| 23 5b 6e 69 6c 20 22 08 | ad 85 c1 08 21 c2 3e 87 |#[nil ".|....!.>.|
|00001c40| 22 20 5b 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |" [nntp-|server-p|
|00001c50| 72 6f 63 65 73 73 20 70 | 72 6f 63 65 73 73 2d 73 |rocess p|rocess-s|
|00001c60| 74 61 74 75 73 20 28 6f | 70 65 6e 20 72 75 6e 29 |tatus (o|pen run)|
|00001c70| 5d 20 32 20 22 5c 0a 52 | 65 74 75 72 6e 20 73 65 |] 2 "\.R|eturn se|
|00001c80| 72 76 65 72 20 70 72 6f | 63 65 73 73 20 73 74 61 |rver pro|cess sta|
|00001c90| 74 75 73 2c 20 54 20 6f | 72 20 4e 49 4c 2e 0a 49 |tus, T o|r NIL..I|
|00001ca0| 66 20 74 68 65 20 73 74 | 72 65 61 6d 20 69 73 20 |f the st|ream is |
|00001cb0| 6f 70 65 6e 65 64 2c 20 | 72 65 74 75 72 6e 20 54 |opened, |return T|
|00001cc0| 2c 20 6f 74 68 65 72 77 | 69 73 65 20 72 65 74 75 |, otherw|ise retu|
|00001cd0| 72 6e 20 4e 49 4c 2e 22 | 5d 29 0a 28 66 73 65 74 |rn NIL."|]).(fset|
|00001ce0| 20 27 6e 6e 74 70 2d 73 | 74 61 74 75 73 2d 6d 65 | 'nntp-s|tatus-me|
|00001cf0| 73 73 61 67 65 20 23 5b | 6e 69 6c 20 22 08 ab 8d |ssage #[|nil "...|
|00001d00| c1 c2 08 5c 22 ab 87 08 | c3 94 c3 95 4f 87 c4 87 |...\"...|....O...|
|00001d10| 22 20 5b 6e 6e 74 70 2d | 73 74 61 74 75 73 2d 73 |" [nntp-|status-s|
|00001d20| 74 72 69 6e 67 20 73 74 | 72 69 6e 67 2d 6d 61 74 |tring st|ring-mat|
|00001d30| 63 68 20 22 5b 30 2d 39 | 5d 5b 30 2d 39 5d 5b 30 |ch "[0-9|][0-9][0|
|00001d40| 2d 39 5d 5b 20 09 5d 2b | 5c 5c 28 5b 5e 0d 5d 2a |-9][ .]+|\\([^.]*|
|00001d50| 5c 5c 29 2e 2a 24 22 20 | 31 20 22 22 5d 20 33 20 |\\).*$" |1 ""] 3 |
|00001d60| 22 5c 0a 52 65 74 75 72 | 6e 20 73 65 72 76 65 72 |"\.Retur|n server|
|00001d70| 20 73 74 61 74 75 73 20 | 72 65 73 70 6f 6e 73 65 | status |response|
|00001d80| 20 61 73 20 73 74 72 69 | 6e 67 2e 22 5d 29 0a 28 | as stri|ng."]).(|
|00001d90| 66 73 65 74 20 27 6e 6e | 74 70 2d 72 65 71 75 65 |fset 'nn|tp-reque|
|00001da0| 73 74 2d 61 72 74 69 63 | 6c 65 20 23 5b 28 69 64 |st-artic|le #[(id|
|00001db0| 29 20 22 c0 c1 c2 0b 23 | c4 20 88 87 22 20 5b 6e |) "....#|. .." [n|
|00001dc0| 6e 74 70 2d 73 65 6e 64 | 2d 63 6f 6d 6d 61 6e 64 |ntp-send|-command|
|00001dd0| 20 22 5e 5c 5c 2e 0d 24 | 22 20 22 41 52 54 49 43 | "^\\..$|" "ARTIC|
|00001de0| 4c 45 22 20 69 64 20 6e | 6e 74 70 2d 64 65 63 6f |LE" id n|ntp-deco|
|00001df0| 64 65 2d 74 65 78 74 5d | 20 34 20 22 5c 0a 53 65 |de-text]| 4 "\.Se|
|00001e00| 6c 65 63 74 20 61 72 74 | 69 63 6c 65 20 62 79 20 |lect art|icle by |
|00001e10| 6d 65 73 73 61 67 65 20 | 49 44 20 28 6f 72 20 6e |message |ID (or n|
|00001e20| 75 6d 62 65 72 29 2e 22 | 5d 29 0a 28 66 73 65 74 |umber)."|]).(fset|
|00001e30| 20 27 6e 6e 74 70 2d 72 | 65 71 75 65 73 74 2d 62 | 'nntp-r|equest-b|
|00001e40| 6f 64 79 20 23 5b 28 69 | 64 29 20 22 c0 c1 c2 0b |ody #[(i|d) "....|
|00001e50| 23 c4 20 88 87 22 20 5b | 6e 6e 74 70 2d 73 65 6e |#. .." [|nntp-sen|
|00001e60| 64 2d 63 6f 6d 6d 61 6e | 64 20 22 5e 5c 5c 2e 0d |d-comman|d "^\\..|
|00001e70| 24 22 20 22 42 4f 44 59 | 22 20 69 64 20 6e 6e 74 |$" "BODY|" id nnt|
|00001e80| 70 2d 64 65 63 6f 64 65 | 2d 74 65 78 74 5d 20 34 |p-decode|-text] 4|
|00001e90| 20 22 5c 0a 53 65 6c 65 | 63 74 20 61 72 74 69 63 | "\.Sele|ct artic|
|00001ea0| 6c 65 20 62 6f 64 79 20 | 62 79 20 6d 65 73 73 61 |le body |by messa|
|00001eb0| 67 65 20 49 44 20 28 6f | 72 20 6e 75 6d 62 65 72 |ge ID (o|r number|
|00001ec0| 29 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |)."]).(f|set 'nnt|
|00001ed0| 70 2d 72 65 71 75 65 73 | 74 2d 68 65 61 64 20 23 |p-reques|t-head #|
|00001ee0| 5b 28 69 64 29 20 22 c0 | c1 c2 0b 23 c4 20 88 87 |[(id) ".|...#. ..|
|00001ef0| 22 20 5b 6e 6e 74 70 2d | 73 65 6e 64 2d 63 6f 6d |" [nntp-|send-com|
|00001f00| 6d 61 6e 64 20 22 5e 5c | 5c 2e 0d 24 22 20 22 48 |mand "^\|\..$" "H|
|00001f10| 45 41 44 22 20 69 64 20 | 6e 6e 74 70 2d 64 65 63 |EAD" id |nntp-dec|
|00001f20| 6f 64 65 2d 74 65 78 74 | 5d 20 34 20 22 5c 0a 53 |ode-text|] 4 "\.S|
|00001f30| 65 6c 65 63 74 20 61 72 | 74 69 63 6c 65 20 68 65 |elect ar|ticle he|
|00001f40| 61 64 20 62 79 20 6d 65 | 73 73 61 67 65 20 49 44 |ad by me|ssage ID|
|00001f50| 20 28 6f 72 20 6e 75 6d | 62 65 72 29 2e 22 5d 29 | (or num|ber)."])|
|00001f60| 0a 28 66 73 65 74 20 27 | 6e 6e 74 70 2d 72 65 71 |.(fset '|nntp-req|
|00001f70| 75 65 73 74 2d 73 74 61 | 74 20 23 5b 28 69 64 29 |uest-sta|t #[(id)|
|00001f80| 20 22 c0 c1 c2 0b 23 87 | 22 20 5b 6e 6e 74 70 2d | "....#.|" [nntp-|
|00001f90| 73 65 6e 64 2d 63 6f 6d | 6d 61 6e 64 20 22 5e 5b |send-com|mand "^[|
|00001fa0| 32 33 5d 2e 2a 0d 24 22 | 20 22 53 54 41 54 22 20 |23].*.$"| "STAT" |
|00001fb0| 69 64 5d 20 34 20 22 5c | 0a 53 65 6c 65 63 74 20 |id] 4 "\|.Select |
|00001fc0| 61 72 74 69 63 6c 65 20 | 62 79 20 6d 65 73 73 61 |article |by messa|
|00001fd0| 67 65 20 49 44 20 28 6f | 72 20 6e 75 6d 62 65 72 |ge ID (o|r number|
|00001fe0| 29 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |)."]).(f|set 'nnt|
|00001ff0| 70 2d 72 65 71 75 65 73 | 74 2d 67 72 6f 75 70 20 |p-reques|t-group |
|00002000| 23 5b 28 67 72 6f 75 70 | 29 20 22 c0 c1 c2 0b 23 |#[(group|) "....#|
|00002010| 87 22 20 5b 6e 6e 74 70 | 2d 73 65 6e 64 2d 63 6f |." [nntp|-send-co|
|00002020| 6d 6d 61 6e 64 20 22 5e | 5b 32 33 5d 2e 2a 24 22 |mmand "^|[23].*$"|
|00002030| 20 22 47 52 4f 55 50 22 | 20 67 72 6f 75 70 5d 20 | "GROUP"| group] |
|00002040| 34 20 22 5c 0a 53 65 6c | 65 63 74 20 6e 65 77 73 |4 "\.Sel|ect news|
|00002050| 20 47 52 4f 55 50 2e 22 | 5d 29 0a 28 66 73 65 74 | GROUP."|]).(fset|
|00002060| 20 27 6e 6e 74 70 2d 72 | 65 71 75 65 73 74 2d 6c | 'nntp-r|equest-l|
|00002070| 69 73 74 20 23 5b 6e 69 | 6c 20 22 c0 c1 c2 5c 22 |ist #[ni|l "...\"|
|00002080| c3 20 88 87 22 20 5b 6e | 6e 74 70 2d 73 65 6e 64 |. .." [n|ntp-send|
|00002090| 2d 63 6f 6d 6d 61 6e 64 | 20 22 5e 5c 5c 2e 0d 24 |-command| "^\\..$|
|000020a0| 22 20 22 4c 49 53 54 22 | 20 6e 6e 74 70 2d 64 65 |" "LIST"| nntp-de|
|000020b0| 63 6f 64 65 2d 74 65 78 | 74 5d 20 33 20 22 5c 0a |code-tex|t] 3 "\.|
|000020c0| 4c 69 73 74 20 61 63 74 | 69 76 65 20 6e 65 77 73 |List act|ive news|
|000020d0| 67 72 6f 75 70 73 2e 22 | 5d 29 0a 28 66 73 65 74 |groups."|]).(fset|
|000020e0| 20 27 6e 6e 74 70 2d 72 | 65 71 75 65 73 74 2d 6c | 'nntp-r|equest-l|
|000020f0| 69 73 74 2d 6e 65 77 73 | 67 72 6f 75 70 73 20 23 |ist-news|groups #|
|00002100| 5b 6e 69 6c 20 22 c0 c1 | c2 5c 22 c3 20 88 87 22 |[nil "..|.\". .."|
|00002110| 20 5b 6e 6e 74 70 2d 73 | 65 6e 64 2d 63 6f 6d 6d | [nntp-s|end-comm|
|00002120| 61 6e 64 20 22 5e 5c 5c | 2e 0d 24 22 20 22 4c 49 |and "^\\|..$" "LI|
|00002130| 53 54 20 4e 45 57 53 47 | 52 4f 55 50 53 22 20 6e |ST NEWSG|ROUPS" n|
|00002140| 6e 74 70 2d 64 65 63 6f | 64 65 2d 74 65 78 74 5d |ntp-deco|de-text]|
|00002150| 20 33 20 22 5c 0a 4c 69 | 73 74 20 6e 65 77 73 67 | 3 "\.Li|st newsg|
|00002160| 72 6f 75 70 73 20 28 64 | 65 66 69 6e 65 64 20 69 |roups (d|efined i|
|00002170| 6e 20 4e 4e 54 50 32 29 | 2e 22 5d 29 0a 28 66 73 |n NNTP2)|."]).(fs|
|00002180| 65 74 20 27 6e 6e 74 70 | 2d 72 65 71 75 65 73 74 |et 'nntp|-request|
|00002190| 2d 6c 69 73 74 2d 64 69 | 73 74 72 69 62 75 74 69 |-list-di|stributi|
|000021a0| 6f 6e 73 20 23 5b 6e 69 | 6c 20 22 c0 c1 c2 5c 22 |ons #[ni|l "...\"|
|000021b0| c3 20 88 87 22 20 5b 6e | 6e 74 70 2d 73 65 6e 64 |. .." [n|ntp-send|
|000021c0| 2d 63 6f 6d 6d 61 6e 64 | 20 22 5e 5c 5c 2e 0d 24 |-command| "^\\..$|
|000021d0| 22 20 22 4c 49 53 54 20 | 44 49 53 54 52 49 42 55 |" "LIST |DISTRIBU|
|000021e0| 54 49 4f 4e 53 22 20 6e | 6e 74 70 2d 64 65 63 6f |TIONS" n|ntp-deco|
|000021f0| 64 65 2d 74 65 78 74 5d | 20 33 20 22 5c 0a 4c 69 |de-text]| 3 "\.Li|
|00002200| 73 74 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 73 |st distr|ibutions|
|00002210| 20 28 64 65 66 69 6e 65 | 64 20 69 6e 20 4e 4e 54 | (define|d in NNT|
|00002220| 50 32 29 2e 22 5d 29 0a | 28 66 73 65 74 20 27 6e |P2)."]).|(fset 'n|
|00002230| 6e 74 70 2d 72 65 71 75 | 65 73 74 2d 6c 61 73 74 |ntp-requ|est-last|
|00002240| 20 23 5b 6e 69 6c 20 22 | c0 c1 c2 5c 22 87 22 20 | #[nil "|...\"." |
|00002250| 5b 6e 6e 74 70 2d 73 65 | 6e 64 2d 63 6f 6d 6d 61 |[nntp-se|nd-comma|
|00002260| 6e 64 20 22 5e 5b 32 33 | 5d 2e 2a 0d 24 22 20 22 |nd "^[23|].*.$" "|
|00002270| 4c 41 53 54 22 5d 20 33 | 20 22 5c 0a 53 65 74 20 |LAST"] 3| "\.Set |
|00002280| 63 75 72 72 65 6e 74 20 | 61 72 74 69 63 6c 65 20 |current |article |
|00002290| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 70 |pointer |to the p|
|000022a0| 72 65 76 69 6f 75 73 20 | 61 72 74 69 63 6c 65 0a |revious |article.|
|000022b0| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6e |in the c|urrent n|
|000022c0| 65 77 73 20 67 72 6f 75 | 70 2e 22 5d 29 0a 28 66 |ews grou|p."]).(f|
|000022d0| 73 65 74 20 27 6e 6e 74 | 70 2d 72 65 71 75 65 73 |set 'nnt|p-reques|
|000022e0| 74 2d 6e 65 78 74 20 23 | 5b 6e 69 6c 20 22 c0 c1 |t-next #|[nil "..|
|000022f0| c2 5c 22 87 22 20 5b 6e | 6e 74 70 2d 73 65 6e 64 |.\"." [n|ntp-send|
|00002300| 2d 63 6f 6d 6d 61 6e 64 | 20 22 5e 5b 32 33 5d 2e |-command| "^[23].|
|00002310| 2a 0d 24 22 20 22 4e 45 | 58 54 22 5d 20 33 20 22 |*.$" "NE|XT"] 3 "|
|00002320| 5c 0a 41 64 76 61 6e 63 | 65 20 63 75 72 72 65 6e |\.Advanc|e curren|
|00002330| 74 20 61 72 74 69 63 6c | 65 20 70 6f 69 6e 74 65 |t articl|e pointe|
|00002340| 72 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |r."]).(f|set 'nnt|
|00002350| 70 2d 72 65 71 75 65 73 | 74 2d 70 6f 73 74 20 23 |p-reques|t-post #|
|00002360| 5b 6e 69 6c 20 22 c0 c1 | 21 88 c2 c3 c4 5c 22 ad |[nil "..|!....\".|
|00002370| 9b c0 c5 21 88 c6 20 88 | c0 c7 21 88 c8 65 64 5c |...!.. .|..!..ed\|
|00002380| 22 88 c0 c9 21 88 ca cb | 21 c0 cc 21 88 87 22 20 |"...!...|!..!.." |
|00002390| 5b 6d 65 73 73 61 67 65 | 20 22 4e 4e 54 50 3a 20 |[message| "NNTP: |
|000023a0| 61 77 61 69 74 69 6e 67 | 20 50 4f 53 54 20 63 6f |awaiting| POST co|
|000023b0| 6e 6e 65 63 74 69 6f 6e | 2e 2e 2e 22 20 6e 6e 74 |nnection|..." nnt|
|000023c0| 70 2d 73 65 6e 64 2d 63 | 6f 6d 6d 61 6e 64 20 22 |p-send-c|ommand "|
|000023d0| 5e 5b 32 33 5d 2e 2a 0d | 24 22 20 22 50 4f 53 54 |^[23].*.|$" "POST|
|000023e0| 22 20 22 4e 4e 54 50 3a | 20 67 6f 74 20 50 4f 53 |" "NNTP:| got POS|
|000023f0| 54 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 3b 20 65 6e |T connec|tion; en|
|00002400| 63 6f 64 69 6e 67 20 74 | 65 78 74 2e 2e 2e 22 20 |coding t|ext..." |
|00002410| 6e 6e 74 70 2d 65 6e 63 | 6f 64 65 2d 74 65 78 74 |nntp-enc|ode-text|
|00002420| 20 22 4e 4e 54 50 3a 20 | 67 6f 74 20 50 4f 53 54 | "NNTP: |got POST|
|00002430| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 3b 20 73 65 6e | connect|ion; sen|
|00002440| 64 69 6e 67 20 74 65 78 | 74 2e 2e 2e 22 20 6e 6e |ding tex|t..." nn|
|00002450| 74 70 2d 73 65 6e 64 2d | 72 65 67 69 6f 6e 2d 74 |tp-send-|region-t|
|00002460| 6f 2d 73 65 72 76 65 72 | 20 22 4e 4e 54 50 3a 20 |o-server| "NNTP: |
|00002470| 74 65 78 74 20 73 65 6e | 74 3b 20 61 77 61 69 74 |text sen|t; await|
|00002480| 69 6e 67 20 72 65 73 70 | 6f 6e 73 65 2e 2e 2e 22 |ing resp|onse..."|
|00002490| 20 6e 6e 74 70 2d 77 61 | 69 74 2d 66 6f 72 2d 72 | nntp-wa|it-for-r|
|000024a0| 65 73 70 6f 6e 73 65 20 | 22 5e 5b 32 33 5d 2e 2a |esponse |"^[23].*|
|000024b0| 24 22 20 22 4e 4e 54 50 | 3a 20 70 6f 73 74 20 63 |$" "NNTP|: post c|
|000024c0| 6f 6d 70 6c 65 74 65 2e | 22 5d 20 33 20 22 5c 0a |omplete.|"] 3 "\.|
|000024d0| 50 6f 73 74 20 61 20 6e | 65 77 20 6e 65 77 73 20 |Post a n|ew news |
|000024e0| 69 6e 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |in curre|nt buffe|
|000024f0| 72 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 6e 74 |r."]).(f|set 'nnt|
|00002500| 70 2d 64 65 66 61 75 6c | 74 2d 73 65 6e 74 69 6e |p-defaul|t-sentin|
|00002510| 65 6c 20 23 5b 28 70 72 | 6f 63 20 73 74 61 74 75 |el #[(pr|oc statu|
|00002520| 73 29 20 22 08 ad 88 c1 | 20 3f ad 83 c2 c3 21 87 |s) "....| ?....!.|
|00002530| 22 20 5b 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |" [nntp-|server-p|
|00002540| 72 6f 63 65 73 73 20 6e | 6e 74 70 2d 73 65 72 76 |rocess n|ntp-serv|
|00002550| 65 72 2d 6f 70 65 6e 65 | 64 20 65 72 72 6f 72 20 |er-opene|d error |
|00002560| 22 4e 4e 54 50 3a 20 43 | 6f 6e 6e 65 63 74 69 6f |"NNTP: C|onnectio|
|00002570| 6e 20 63 6c 6f 73 65 64 | 2e 22 5d 20 32 20 22 5c |n closed|."] 2 "\|
|00002580| 0a 44 65 66 61 75 6c 74 | 20 73 65 6e 74 69 6e 65 |.Default| sentine|
|00002590| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 72 20 4e |l functi|on for N|
|000025a0| 4e 54 50 20 73 65 72 76 | 65 72 20 70 72 6f 63 65 |NTP serv|er proce|
|000025b0| 73 73 2e 22 5d 29 0a 28 | 66 73 65 74 20 27 6e 6e |ss."]).(|fset 'nn|
|000025c0| 74 70 2d 64 65 63 6f 64 | 65 2d 74 65 78 74 20 23 |tp-decod|e-text #|
|000025d0| 5b 6e 69 6c 20 22 8a 08 | 71 88 64 62 88 6e ac 83 |[nil "..|q.db.n..|
|000025e0| c1 63 88 65 62 88 60 c2 | 79 88 60 7c 88 6d ac 91 |.c.eb.`.|y.`|.m..|
|000025f0| c3 7f 88 68 c4 55 ab 84 | c5 c6 21 88 c2 79 88 aa |...h.U..|..!..y..|
|00002600| 6c 64 62 88 c6 79 88 c7 | c8 21 ab 87 60 c2 79 88 |ldb..y..|.!..`.y.|
|00002610| 60 7c 88 65 62 88 c9 ca | c3 cb 23 ad 86 c5 c6 21 |`|.eb...|..#....!|
|00002620| 88 aa 73 29 87 22 20 5b | 6e 6e 74 70 2d 73 65 72 |..s)." [|nntp-ser|
|00002630| 76 65 72 2d 62 75 66 66 | 65 72 20 22 5c 6e 22 20 |ver-buff|er "\n" |
|00002640| 31 20 6e 69 6c 20 31 33 | 20 64 65 6c 65 74 65 2d |1 nil 13| delete-|
|00002650| 63 68 61 72 20 2d 31 20 | 6c 6f 6f 6b 69 6e 67 2d |char -1 |looking-|
|00002660| 61 74 20 22 5e 5c 5c 2e | 24 22 20 73 65 61 72 63 |at "^\\.|$" searc|
|00002670| 68 2d 66 6f 72 77 61 72 | 64 20 22 5c 6e 2e 2e 22 |h-forwar|d "\n.."|
|00002680| 20 74 5d 20 34 20 22 5c | 0a 44 65 63 6f 64 65 20 | t] 4 "\|.Decode |
|00002690| 74 65 78 74 20 74 72 61 | 6e 73 6d 69 74 74 65 64 |text tra|nsmitted|
|000026a0| 20 62 79 20 4e 4e 54 50 | 2e 0a 30 2e 20 44 65 6c | by NNTP|..0. Del|
|000026b0| 65 74 65 20 73 74 61 74 | 75 73 20 6c 69 6e 65 2e |ete stat|us line.|
|000026c0| 0a 31 2e 20 44 65 6c 65 | 74 65 20 60 5e 4d 27 20 |.1. Dele|te `^M' |
|000026d0| 61 74 20 65 6e 64 20 6f | 66 20 6c 69 6e 65 2e 0a |at end o|f line..|
|000026e0| 32 2e 20 44 65 6c 65 74 | 65 20 60 2e 27 20 61 74 |2. Delet|e `.' at|
|000026f0| 20 65 6e 64 20 6f 66 20 | 62 75 66 66 65 72 20 28 | end of |buffer (|
|00002700| 65 6e 64 20 6f 66 20 74 | 65 78 74 20 6d 61 72 6b |end of t|ext mark|
|00002710| 29 2e 0a 33 2e 20 44 65 | 6c 65 74 65 20 60 2e 27 |)..3. De|lete `.'|
|00002720| 20 61 74 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 | at begi|nning of|
|00002730| 20 6c 69 6e 65 2e 22 5d | 29 0a 28 66 73 65 74 20 | line."]|).(fset |
|00002740| 27 6e 6e 74 70 2d 65 6e | 63 6f 64 65 2d 74 65 78 |'nntp-en|code-tex|
|00002750| 74 20 23 5b 6e 69 6c 20 | 22 8a 64 62 88 6e ac 83 |t #[nil |".db.n..|
|00002760| c0 63 88 65 62 88 c1 c2 | c3 c4 23 ab 85 c5 63 88 |.c.eb...|..#...c.|
|00002770| aa 74 64 62 88 c6 63 29 | 87 22 20 5b 22 5c 6e 22 |.tdb..c)|." ["\n"|
|00002780| 20 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 | search-|forward |
|00002790| 22 5c 6e 2e 22 20 6e 69 | 6c 20 74 20 22 2e 22 20 |"\n." ni|l t "." |
|000027a0| 22 2e 0d 5c 6e 22 5d 20 | 34 20 22 5c 0a 45 6e 63 |"..\n"] |4 "\.Enc|
|000027b0| 6f 64 65 20 74 65 78 74 | 20 69 6e 20 63 75 72 72 |ode text| in curr|
|000027c0| 65 6e 74 20 62 75 66 66 | 65 72 20 66 6f 72 20 4e |ent buff|er for N|
|000027d0| 4e 54 50 20 74 72 61 6e | 73 6d 69 73 73 69 6f 6e |NTP tran|smission|
|000027e0| 2e 0a 31 2e 20 49 6e 73 | 65 72 74 20 60 2e 27 20 |..1. Ins|ert `.' |
|000027f0| 61 74 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |at begin|ning of |
|00002800| 6c 69 6e 65 2e 0a 32 2e | 20 49 6e 73 65 72 74 20 |line..2.| Insert |
|00002810| 60 2e 27 20 61 74 20 65 | 6e 64 20 6f 66 20 62 75 |`.' at e|nd of bu|
|00002820| 66 66 65 72 20 28 65 6e | 64 20 6f 66 20 74 65 78 |ffer (en|d of tex|
|00002830| 74 20 6d 61 72 6b 29 2e | 22 5d 29 0a 28 66 73 65 |t mark).|"]).(fse|
|00002840| 74 20 27 6e 6e 74 70 2d | 73 65 6e 64 2d 63 6f 6d |t 'nntp-|send-com|
|00002850| 6d 61 6e 64 20 23 5b 28 | 72 65 73 70 6f 6e 73 65 |mand #[(|response|
|00002860| 20 63 6d 64 20 26 72 65 | 73 74 20 61 72 67 73 29 | cmd &re|st args)|
|00002870| 20 22 8a 08 71 88 c1 20 | 88 c2 c3 0c 0d 23 88 0e | "..q.. |.....#..|
|00002880| 06 ab 86 c7 0e 06 21 aa | 81 c8 29 87 22 20 5b 6e |......!.|..)." [n|
|00002890| 6e 74 70 2d 73 65 72 76 | 65 72 2d 62 75 66 66 65 |ntp-serv|er-buffe|
|000028a0| 72 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 61 |r erase-|buffer a|
|000028b0| 70 70 6c 79 20 6e 6e 74 | 70 2d 73 65 6e 64 2d 73 |pply nnt|p-send-s|
|000028c0| 74 72 69 6e 67 73 2d 74 | 6f 2d 73 65 72 76 65 72 |trings-t|o-server|
|000028d0| 20 63 6d 64 20 61 72 67 | 73 20 72 65 73 70 6f 6e | cmd arg|s respon|
|000028e0| 73 65 20 6e 6e 74 70 2d | 77 61 69 74 2d 66 6f 72 |se nntp-|wait-for|
|000028f0| 2d 72 65 73 70 6f 6e 73 | 65 20 74 5d 20 34 20 22 |-respons|e t] 4 "|
|00002900| 5c 0a 57 61 69 74 20 66 | 6f 72 20 73 65 72 76 65 |\.Wait f|or serve|
|00002910| 72 20 52 45 53 50 4f 4e | 53 45 20 61 66 74 65 72 |r RESPON|SE after|
|00002920| 20 73 65 6e 64 69 6e 67 | 20 43 4d 44 20 61 6e 64 | sending| CMD and|
|00002930| 20 6f 70 74 69 6f 6e 61 | 6c 20 41 52 47 53 20 74 | optiona|l ARGS t|
|00002940| 6f 20 73 65 72 76 65 72 | 2e 22 5d 29 0a 28 66 73 |o server|."]).(fs|
|00002950| 65 74 20 27 6e 6e 74 70 | 2d 77 61 69 74 2d 66 6f |et 'nntp|-wait-fo|
|00002960| 72 2d 72 65 73 70 6f 6e | 73 65 20 23 5b 28 72 65 |r-respon|se #[(re|
|00002970| 67 65 78 70 29 20 22 8a | c0 89 19 1a 0b 71 88 c4 |gexp) ".|.....q..|
|00002980| 20 88 09 ab 9e 65 62 88 | c5 c6 21 ab 85 c7 89 11 | ....eb.|..!.....|
|00002990| aa 71 c5 c8 21 ab 87 c7 | 12 c7 89 11 aa 65 c4 20 |.q..!...|.....e. |
|000029a0| 88 aa 5f c7 7f 88 65 60 | 7b 16 09 5c 6e ad b6 c0 |.._...e`|{..\n...|
|000029b0| 11 09 ab ac 64 62 88 ca | 79 88 c5 0e 0b 21 ab 85 |....db..|y....!..|
|000029c0| c7 89 11 aa 6d cc 20 cd | a5 1e 0e cf 0e 0e d0 56 |....m. .|.......V|
|000029d0| ab 83 d1 aa 81 d2 0e 0e | 5c 22 88 29 c4 20 88 aa |........|\".). ..|
|000029e0| 51 d3 c7 21 88 c0 2b 87 | 22 20 5b 74 20 77 61 69 |Q..!..+.|" [t wai|
|000029f0| 74 20 73 74 61 74 75 73 | 20 6e 6e 74 70 2d 73 65 |t status| nntp-se|
|00002a00| 72 76 65 72 2d 62 75 66 | 66 65 72 20 6e 6e 74 70 |rver-buf|fer nntp|
|00002a10| 2d 61 63 63 65 70 74 2d | 72 65 73 70 6f 6e 73 65 |-accept-|response|
|00002a20| 20 6c 6f 6f 6b 69 6e 67 | 2d 61 74 20 22 5b 32 33 | looking|-at "[23|
|00002a30| 5d 22 20 6e 69 6c 20 22 | 5b 34 35 5d 22 20 6e 6e |]" nil "|[45]" nn|
|00002a40| 74 70 2d 73 74 61 74 75 | 73 2d 73 74 72 69 6e 67 |tp-statu|s-string|
|00002a50| 20 2d 31 20 72 65 67 65 | 78 70 20 62 75 66 66 65 | -1 rege|xp buffe|
|00002a60| 72 2d 73 69 7a 65 20 31 | 30 32 34 20 6b 20 67 6e |r-size 1|024 k gn|
|00002a70| 75 73 2d 6c 61 7a 79 2d | 6d 65 73 73 61 67 65 20 |us-lazy-|message |
|00002a80| 30 20 22 4e 4e 54 50 3a | 20 52 65 61 64 69 6e 67 |0 "NNTP:| Reading|
|00002a90| 20 28 25 73 6b 29 2e 2e | 2e 22 20 22 4e 4e 54 50 | (%sk)..|." "NNTP|
|00002aa0| 3a 20 52 65 61 64 69 6e | 67 2e 2e 2e 22 20 6d 65 |: Readin|g..." me|
|00002ab0| 73 73 61 67 65 5d 20 34 | 20 22 5c 0a 57 61 69 74 |ssage] 4| "\.Wait|
|00002ac0| 20 66 6f 72 20 73 65 72 | 76 65 72 20 72 65 73 70 | for ser|ver resp|
|00002ad0| 6f 6e 73 65 20 77 68 69 | 63 68 20 6d 61 74 63 68 |onse whi|ch match|
|00002ae0| 65 73 20 52 45 47 45 58 | 50 2e 22 5d 29 0a 28 66 |es REGEX|P."]).(f|
|00002af0| 73 65 74 20 27 6e 6e 74 | 70 2d 73 65 6e 64 2d 73 |set 'nnt|p-send-s|
|00002b00| 74 72 69 6e 67 73 2d 74 | 6f 2d 73 65 72 76 65 72 |trings-t|o-server|
|00002b10| 20 23 5b 28 26 72 65 73 | 74 20 73 74 72 69 6e 67 | #[(&res|t string|
|00002b20| 73 29 20 22 08 40 08 41 | 18 19 08 ab 8c 09 c2 08 |s) ".@.A|........|
|00002b30| 40 51 11 08 41 89 10 ac | 74 c3 0c 09 c5 50 5c 22 |@Q..A...|t....P\"|
|00002b40| 2a 87 22 20 5b 73 74 72 | 69 6e 67 73 20 63 6d 64 |*." [str|ings cmd|
|00002b50| 20 22 20 22 20 70 72 6f | 63 65 73 73 2d 73 65 6e | " " pro|cess-sen|
|00002b60| 64 2d 73 74 72 69 6e 67 | 20 6e 6e 74 70 2d 73 65 |d-string| nntp-se|
|00002b70| 72 76 65 72 2d 70 72 6f | 63 65 73 73 20 22 0d 5c |rver-pro|cess ".\|
|00002b80| 6e 22 5d 20 35 20 22 5c | 0a 53 65 6e 64 20 6c 69 |n"] 5 "\|.Send li|
|00002b90| 73 74 20 6f 66 20 53 54 | 52 49 4e 47 53 20 74 6f |st of ST|RINGS to|
|00002ba0| 20 6e 65 77 73 20 73 65 | 72 76 65 72 20 61 73 20 | news se|rver as |
|00002bb0| 63 6f 6d 6d 61 6e 64 20 | 61 6e 64 20 69 74 73 20 |command |and its |
|00002bc0| 61 72 67 75 6d 65 6e 74 | 73 2e 22 5d 29 0a 28 66 |argument|s."]).(f|
|00002bd0| 73 65 74 20 27 6e 6e 74 | 70 2d 73 65 6e 64 2d 72 |set 'nnt|p-send-r|
|00002be0| 65 67 69 6f 6e 2d 74 6f | 2d 73 65 72 76 65 72 20 |egion-to|-server |
|00002bf0| 23 5b 28 62 65 67 69 6e | 20 65 6e 64 29 20 22 8a |#[(begin| end) ".|
|00002c00| c0 09 5c 6e 0b 23 88 09 | 71 88 65 12 64 13 c4 1d |..\n.#..|q.e.d...|
|00002c10| c6 1e 07 0b 5c 6e 5a 0e | 07 a5 1e 08 c9 1e 5c 6e |....\nZ.|......\n|
|00002c20| 8c 5c 6e 0b 7d 88 5c 6e | 62 88 6d ac b2 cb cc 0e |.\n.}.\n|b.m.....|
|00002c30| 5c 6e c6 5f 0e 08 a5 5c | 22 88 0e 5c 6e cd 5c 5c |\n._...\|"..\n.\\|
|00002c40| 16 5c 6e 8a 0b 60 0e 07 | 5c 5c 5e 62 88 6d ac 83 |.\n..`..|\\^b.m..|
|00002c50| cd 75 88 60 29 15 ce 0e | 0f 60 0d 23 88 d0 20 88 |.u.`)...|.`.#.. .|
|00002c60| 0d 62 88 aa 4b 2d 5c 6e | 0b 7c 29 87 22 20 5b 63 |.b..K-\n|.|)." [c|
|00002c70| 6f 70 79 2d 74 6f 2d 62 | 75 66 66 65 72 20 6e 6e |opy-to-b|uffer nn|
|00002c80| 74 70 2d 73 65 72 76 65 | 72 2d 62 75 66 66 65 72 |tp-serve|r-buffer|
|00002c90| 20 62 65 67 69 6e 20 65 | 6e 64 20 6e 69 6c 20 6c | begin e|nd nil l|
|00002ca0| 61 73 74 20 31 30 30 20 | 73 69 7a 65 20 74 6f 74 |ast 100 |size tot|
|00002cb0| 61 6c 20 30 20 73 65 6e | 74 20 67 6e 75 73 2d 6c |al 0 sen|t gnus-l|
|00002cc0| 61 7a 79 2d 6d 65 73 73 | 61 67 65 20 22 4e 4e 54 |azy-mess|age "NNT|
|00002cd0| 50 3a 20 67 6f 74 20 50 | 4f 53 54 20 63 6f 6e 6e |P: got P|OST conn|
|00002ce0| 65 63 74 69 6f 6e 3b 20 | 73 65 6e 64 69 6e 67 20 |ection; |sending |
|00002cf0| 74 65 78 74 2e 2e 2e 25 | 64 25 25 22 20 31 20 70 |text...%|d%%" 1 p|
|00002d00| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 72 65 67 69 |rocess-s|end-regi|
|00002d10| 6f 6e 20 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |on nntp-|server-p|
|00002d20| 72 6f 63 65 73 73 20 61 | 63 63 65 70 74 2d 70 72 |rocess a|ccept-pr|
|00002d30| 6f 63 65 73 73 2d 6f 75 | 74 70 75 74 5d 20 34 20 |ocess-ou|tput] 4 |
|00002d40| 22 5c 0a 53 65 6e 64 20 | 63 75 72 72 65 6e 74 20 |"\.Send |current |
|00002d50| 62 75 66 66 65 72 20 72 | 65 67 69 6f 6e 20 28 66 |buffer r|egion (f|
|00002d60| 72 6f 6d 20 42 45 47 49 | 4e 20 74 6f 20 45 4e 44 |rom BEGI|N to END|
|00002d70| 29 20 74 6f 20 6e 65 77 | 73 20 73 65 72 76 65 72 |) to new|s server|
|00002d80| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 6e 6e 74 70 |."]).(fs|et 'nntp|
|00002d90| 2d 6f 70 65 6e 2d 73 65 | 72 76 65 72 2d 69 6e 74 |-open-se|rver-int|
|00002da0| 65 72 6e 61 6c 20 23 5b | 28 68 6f 73 74 20 26 6f |ernal #[|(host &o|
|00002db0| 70 74 69 6f 6e 61 6c 20 | 73 65 72 76 69 63 65 29 |ptional |service)|
|00002dc0| 20 22 8a c0 c1 21 ac 84 | c2 c3 21 88 c4 c5 21 89 | "...!..|..!...!.|
|00002dd0| 16 06 71 88 c7 70 21 88 | c8 20 88 c9 20 88 ca 16 |..q..p!.|. .. ...|
|00002de0| 0b c1 cc 70 0e 0d 0e 0e | ae 81 cf 24 16 10 0e 0d |...p....|...$....|
|00002df0| 16 11 d2 d3 21 88 d4 0e | 10 21 88 0e 10 29 87 22 |....!...|.!...)."|
|00002e00| 20 5b 66 62 6f 75 6e 64 | 70 20 6f 70 65 6e 2d 6e | [fbound|p open-n|
|00002e10| 65 74 77 6f 72 6b 2d 73 | 74 72 65 61 6d 20 72 65 |etwork-s|tream re|
|00002e20| 71 75 69 72 65 20 74 63 | 70 20 67 65 74 2d 62 75 |quire tc|p get-bu|
|00002e30| 66 66 65 72 2d 63 72 65 | 61 74 65 20 22 20 2a 6e |ffer-cre|ate " *n|
|00002e40| 6e 74 70 64 2a 22 20 6e | 6e 74 70 2d 73 65 72 76 |ntpd*" n|ntp-serv|
|00002e50| 65 72 2d 62 75 66 66 65 | 72 20 62 75 66 66 65 72 |er-buffe|r buffer|
|00002e60| 2d 64 69 73 61 62 6c 65 | 2d 75 6e 64 6f 20 65 72 |-disable|-undo er|
|00002e70| 61 73 65 2d 62 75 66 66 | 65 72 20 6b 69 6c 6c 2d |ase-buff|er kill-|
|00002e80| 61 6c 6c 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |all-loca|l-variab|
|00002e90| 6c 65 73 20 74 20 63 61 | 73 65 2d 66 6f 6c 64 2d |les t ca|se-fold-|
|00002ea0| 73 65 61 72 63 68 20 22 | 6e 6e 74 70 64 22 20 68 |search "|nntpd" h|
|00002eb0| 6f 73 74 20 73 65 72 76 | 69 63 65 20 22 6e 6e 74 |ost serv|ice "nnt|
|00002ec0| 70 22 20 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |p" nntp-|server-p|
|00002ed0| 72 6f 63 65 73 73 20 6e | 6e 74 70 2d 73 65 72 76 |rocess n|ntp-serv|
|00002ee0| 65 72 2d 6e 61 6d 65 20 | 72 75 6e 2d 68 6f 6f 6b |er-name |run-hook|
|00002ef0| 73 20 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 68 6f |s nntp-s|erver-ho|
|00002f00| 6f 6b 20 70 72 6f 63 65 | 73 73 2d 6b 69 6c 6c 2d |ok proce|ss-kill-|
|00002f10| 77 69 74 68 6f 75 74 2d | 71 75 65 72 79 5d 20 36 |without-|query] 6|
|00002f20| 20 22 5c 0a 4f 70 65 6e | 20 63 6f 6e 6e 65 63 74 | "\.Open| connect|
|00002f30| 69 6f 6e 20 74 6f 20 6e | 65 77 73 20 73 65 72 76 |ion to n|ews serv|
|00002f40| 65 72 20 6f 6e 20 48 4f | 53 54 20 62 79 20 53 45 |er on HO|ST by SE|
|00002f50| 52 56 49 43 45 20 28 64 | 65 66 61 75 6c 74 20 69 |RVICE (d|efault i|
|00002f60| 73 20 6e 6e 74 70 29 2e | 22 5d 29 0a 28 66 73 65 |s nntp).|"]).(fse|
|00002f70| 74 20 27 6e 6e 74 70 2d | 63 6c 6f 73 65 2d 73 65 |t 'nntp-|close-se|
|00002f80| 72 76 65 72 2d 69 6e 74 | 65 72 6e 61 6c 20 23 5b |rver-int|ernal #[|
|00002f90| 6e 69 6c 20 22 08 ab 84 | c1 08 21 88 5c 6e ab 84 |nil "...|..!.\n..|
|00002fa0| c3 5c 6e 21 88 c4 12 c4 | 89 10 87 22 20 5b 6e 6e |.\n!....|..." [nn|
|00002fb0| 74 70 2d 73 65 72 76 65 | 72 2d 70 72 6f 63 65 73 |tp-serve|r-proces|
|00002fc0| 73 20 64 65 6c 65 74 65 | 2d 70 72 6f 63 65 73 73 |s delete|-process|
|00002fd0| 20 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 62 75 66 | nntp-se|rver-buf|
|00002fe0| 66 65 72 20 6b 69 6c 6c | 2d 62 75 66 66 65 72 20 |fer kill|-buffer |
|00002ff0| 6e 69 6c 5d 20 32 20 22 | 5c 0a 43 6c 6f 73 65 20 |nil] 2 "|\.Close |
|00003000| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 74 6f 20 6e 65 |connecti|on to ne|
|00003010| 77 73 20 73 65 72 76 65 | 72 2e 22 5d 29 0a 28 66 |ws serve|r."]).(f|
|00003020| 73 65 74 20 27 6e 6e 74 | 70 2d 61 63 63 65 70 74 |set 'nnt|p-accept|
|00003030| 2d 72 65 73 70 6f 6e 73 | 65 20 23 5b 6e 69 6c 20 |-respons|e #[nil |
|00003040| 22 c0 09 21 c2 3e ac 84 | c3 c4 21 88 0d ab 8c c6 |"..!.>..|..!.....|
|00003050| c7 21 88 c8 c9 21 88 ca | cb 21 87 cc cd ce 8f 87 |.!...!..|.!......|
|00003060| 22 20 5b 70 72 6f 63 65 | 73 73 2d 73 74 61 74 75 |" [proce|ss-statu|
|00003070| 73 20 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 70 72 |s nntp-s|erver-pr|
|00003080| 6f 63 65 73 73 20 28 6f | 70 65 6e 20 72 75 6e 29 |ocess (o|pen run)|
|00003090| 20 65 72 72 6f 72 20 22 | 4e 4e 54 50 3a 20 43 6f | error "|NNTP: Co|
|000030a0| 6e 6e 65 63 74 69 6f 6e | 20 63 6c 6f 73 65 64 2e |nnection| closed.|
|000030b0| 22 20 6e 6e 74 70 2d 62 | 75 67 67 79 2d 73 65 6c |" nntp-b|uggy-sel|
|000030c0| 65 63 74 20 67 6e 75 73 | 2d 6c 61 7a 79 2d 6d 65 |ect gnus|-lazy-me|
|000030d0| 73 73 61 67 65 20 22 4e | 4e 54 50 3a 20 52 65 61 |ssage "N|NTP: Rea|
|000030e0| 64 69 6e 67 2e 2e 2e 22 | 20 73 6c 65 65 70 2d 66 |ding..."| sleep-f|
|000030f0| 6f 72 20 31 20 6d 65 73 | 73 61 67 65 20 22 22 20 |or 1 mes|sage "" |
|00003100| 65 72 72 6f 72 63 6f 64 | 65 20 28 61 63 63 65 70 |errorcod|e (accep|
|00003110| 74 2d 70 72 6f 63 65 73 | 73 2d 6f 75 74 70 75 74 |t-proces|s-output|
|00003120| 20 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 70 72 6f | nntp-se|rver-pro|
|00003130| 63 65 73 73 29 20 28 28 | 65 72 72 6f 72 20 28 62 |cess) ((|error (b|
|00003140| 79 74 65 2d 63 6f 64 65 | 20 22 08 41 40 c1 98 ab |yte-code| ".A@...|
|00003150| 82 c2 87 c3 08 40 08 41 | 5c 22 87 22 20 5b 65 72 |.....@.A|\"." [er|
|00003160| 72 6f 72 63 6f 64 65 20 | 22 73 65 6c 65 63 74 20 |rorcode |"select |
|00003170| 65 72 72 6f 72 3a 20 49 | 6e 76 61 6c 69 64 20 61 |error: I|nvalid a|
|00003180| 72 67 75 6d 65 6e 74 22 | 20 6e 69 6c 20 73 69 67 |rgument"| nil sig|
|00003190| 6e 61 6c 5d 20 33 29 29 | 29 5d 20 33 20 22 5c 0a |nal] 3))|)] 3 "\.|
|000031a0| 52 65 61 64 20 72 65 73 | 70 6f 6e 73 65 20 6f 66 |Read res|ponse of|
|000031b0| 20 73 65 72 76 65 72 2e | 0a 49 74 20 69 73 20 77 | server.|.It is w|
|000031c0| 65 6c 6c 2d 6b 6e 6f 77 | 6e 20 74 68 61 74 20 74 |ell-know|n that t|
|000031d0| 68 65 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |he commu|nication|
|000031e0| 20 73 70 65 65 64 20 77 | 69 6c 6c 20 62 65 20 6d | speed w|ill be m|
|000031f0| 75 63 68 20 69 6d 70 72 | 6f 76 65 64 20 62 79 0a |uch impr|oved by.|
|00003200| 64 65 66 69 6e 69 6e 67 | 20 74 68 69 73 20 66 75 |defining| this fu|
|00003210| 6e 63 74 69 6f 6e 20 61 | 73 20 6d 61 63 72 6f 2e |nction a|s macro.|
|00003220| 22 5d 29 0a 28 70 72 6f | 76 69 64 65 20 27 6e 6e |"]).(pro|vide 'nn|
|00003230| 74 70 29 0a | |tp). | |
+--------+-------------------------+-------------------------+--------+--------+